From b05a4e7019876e795451ac8dae3a5906e2cc8c3a Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 18 Dec 2014 20:02:26 +0000 Subject: fastjar: initial include. dep of java7-openjdk --- abs/extra/fastjar/PKGBUILD | 25 +++++++++++++++++++++++++ abs/extra/fastjar/fastjar.install | 16 ++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 abs/extra/fastjar/PKGBUILD create mode 100644 abs/extra/fastjar/fastjar.install 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 + +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: -- cgit v0.12