diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 20:45:29 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 20:45:29 (GMT) |
commit | a0bd1e3ca25e2f8f2e34f3cee507a63d7cb56df1 (patch) | |
tree | 7dc4abc9733f26ff2bbfc0682a03dbadbe82134f | |
parent | 3e6d2f6713bc1e8c87012cba1526f8558e5bf095 (diff) | |
download | linhes_pkgbuild-a0bd1e3ca25e2f8f2e34f3cee507a63d7cb56df1.zip linhes_pkgbuild-a0bd1e3ca25e2f8f2e34f3cee507a63d7cb56df1.tar.gz linhes_pkgbuild-a0bd1e3ca25e2f8f2e34f3cee507a63d7cb56df1.tar.bz2 |
psutils 1.17
-rw-r--r-- | abs/extra/psutils/PKGBUILD | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/abs/extra/psutils/PKGBUILD b/abs/extra/psutils/PKGBUILD index b8dab78..e5c9af4 100644 --- a/abs/extra/psutils/PKGBUILD +++ b/abs/extra/psutils/PKGBUILD @@ -1,33 +1,38 @@ -# $Id: PKGBUILD 49744 2009-08-15 14:42:41Z jgc $ +# $Id: PKGBUILD 137768 2011-09-10 17:03:05Z pierre $ # Maintainer: eric <eric@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=psutils pkgver=1.17 -pkgrel=2 -pkgdesc="A set of postscript utilities" +pkgrel=3 arch=('i686' 'x86_64') +pkgdesc="A set of postscript utilities" +url="http://www.tardis.ed.ac.uk/~ajcd/psutils/index.html" license=('custom') depends=('glibc' 'ghostscript') provides=('psutils-lprng') replaces=('psutils-lprng') -url="http://www.tardis.ed.ac.uk/~ajcd/psutils/index.html" -source=(ftp://ftp.enst.fr/pub/unix/a2ps/${pkgname}-${pkgver}.tar.gz - psutils-1.17.diff) +options=('!makeflags') +source=("ftp://ftp.archlinux.org/other/psutils/${pkgname}-${pkgver}.tar.gz" + 'psutils-1.17.diff') md5sums=('b161522f3bd1507655326afa7db4a0ad' '2b49e9e796000b42f42804d4b50a2be1') build() { cd "${srcdir}/${pkgname}" - patch -Np1 -i "${srcdir}/psutils-1.17.diff" || return 1 + patch -Np1 -i "${srcdir}/psutils-1.17.diff" + make -f Makefile.unix BINDIR="${pkgdir}/usr/bin" \ + INCLUDEDIR="${pkgdir}/usr/include/psutils" PERL=/usr/bin/perl \ + MANDIR="${pkgdir}/usr/share/man/man1" +} + +package() { + cd "${srcdir}/${pkgname}" install -d -m755 "${pkgdir}/usr/include" install -d -m755 "${pkgdir}/usr/share/man" - make -j1 -f Makefile.unix BINDIR="${pkgdir}/usr/bin" \ - INCLUDEDIR="${pkgdir}/usr/include/psutils" PERL=/usr/bin/perl \ - MANDIR="${pkgdir}/usr/share/man/man1" || return 1 - make -j1 -f Makefile.unix BINDIR="${pkgdir}/usr/bin" \ + make -f Makefile.unix BINDIR="${pkgdir}/usr/bin" \ INCLUDEDIR="${pkgdir}/usr/include/psutils" PERL=/usr/bin/perl \ - MANDIR="${pkgdir}/usr/share/man/man1" install || return 1 + MANDIR="${pkgdir}/usr/share/man/man1" install install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" - install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 + install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/" } |