summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/fastjar/PKGBUILD25
-rw-r--r--abs/extra/fastjar/fastjar.install16
2 files changed, 41 insertions, 0 deletions
diff --git a/abs/extra/fastjar/PKGBUILD b/abs/extra/fastjar/PKGBUILD
new file mode 100644
index 0000000..bd66886
--- /dev/null
+++ b/abs/extra/fastjar/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=fastjar
+pkgver=0.98
+pkgrel=3
+pkgdesc="Sun java jar compatible archiver"
+arch=('i686' 'x86_64')
+url="http://savannah.nongnu.org/projects/fastjar"
+license=('GPL')
+depends=('zlib' 'texinfo')
+install=fastjar.install
+source=("http://download.savannah.nongnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('d2d264d343d4d0e1575832cc1023c3bf')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
diff --git a/abs/extra/fastjar/fastjar.install b/abs/extra/fastjar/fastjar.install
new file mode 100644
index 0000000..b1b973c
--- /dev/null
+++ b/abs/extra/fastjar/fastjar.install
@@ -0,0 +1,16 @@
+infodir=usr/share/info
+file=fastjar.info.gz
+
+post_install() {
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+}
+
+# vim:set ts=2 sw=2 et: