summaryrefslogtreecommitdiff
path: root/community/bbe
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-04-12 03:59:45 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-04-12 03:59:45 +0000
commitd8679f0250762892ab1e1a6d71badc2e9d42a526 (patch)
tree2c5893ffb5a88532e043973210221d10ce07f808 /community/bbe
parent10cc2a54e50ad4aeffd7152937670c8673a096f9 (diff)
Sat Apr 12 03:57:05 UTC 2014
Diffstat (limited to 'community/bbe')
-rw-r--r--community/bbe/PKGBUILD25
-rw-r--r--community/bbe/bbe.install13
2 files changed, 38 insertions, 0 deletions
diff --git a/community/bbe/PKGBUILD b/community/bbe/PKGBUILD
new file mode 100644
index 000000000..5862f3c5a
--- /dev/null
+++ b/community/bbe/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: TDY <tdy@gmx.com>
+# Contributor: Nathan Owe <ndowens04+AUR@gmail.com>
+
+pkgname=bbe
+pkgver=0.2.2
+pkgrel=1
+pkgdesc='A sed-like editor for binary files'
+arch=(i686 x86_64)
+url="http://bbe.sourceforge.net/"
+license=(GPL)
+depends=(glibc)
+install=bbe.install
+source=(http://downloads.sourceforge.net/$pkgname-/$pkgname-$pkgver.tar.gz)
+sha1sums=('42d5b47d607a9633fb49e7d39e2aebfb7bb89c05')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
diff --git a/community/bbe/bbe.install b/community/bbe/bbe.install
new file mode 100644
index 000000000..0b2603a35
--- /dev/null
+++ b/community/bbe/bbe.install
@@ -0,0 +1,13 @@
+infodir=/usr/share/info
+
+post_install() {
+ install-info $infodir/bbe.info.gz $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ install-info delete $infodir/bbe.info.gz $infodir/dir 2> /dev/null
+}