summaryrefslogtreecommitdiffstats
path: root/abs/extra/fastjar
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-12-18 20:02:26 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-12-18 20:02:26 (GMT)
commitb05a4e7019876e795451ac8dae3a5906e2cc8c3a (patch)
tree394df03b2df53b0c72c3d1a17a49377dddf953b6 /abs/extra/fastjar
parented1cfaa696c0e10f4b5155f93337fd94136039a1 (diff)
downloadlinhes_pkgbuild-b05a4e7019876e795451ac8dae3a5906e2cc8c3a.zip
linhes_pkgbuild-b05a4e7019876e795451ac8dae3a5906e2cc8c3a.tar.gz
linhes_pkgbuild-b05a4e7019876e795451ac8dae3a5906e2cc8c3a.tar.bz2
fastjar: initial include. dep of java7-openjdk
Diffstat (limited to 'abs/extra/fastjar')
-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: