diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/fastjar |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/fastjar')
-rw-r--r-- | extra/fastjar/PKGBUILD | 25 | ||||
-rw-r--r-- | extra/fastjar/fastjar.install | 16 |
2 files changed, 41 insertions, 0 deletions
diff --git a/extra/fastjar/PKGBUILD b/extra/fastjar/PKGBUILD new file mode 100644 index 000000000..42e6dfe2f --- /dev/null +++ b/extra/fastjar/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 97252 2010-10-28 03:59:06Z allan $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=fastjar +pkgver=0.97 +pkgrel=2 +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=('2659f09c2e43ef8b7d4406321753f1b2') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install +} diff --git a/extra/fastjar/fastjar.install b/extra/fastjar/fastjar.install new file mode 100644 index 000000000..b1b973c9d --- /dev/null +++ b/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: |