diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-01-05 22:51:26 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-01-05 22:51:26 -0500 |
commit | 9120886b119a1d60704f67e26509d05dd301649a (patch) | |
tree | 3069190208ab662db21a36269f66af314e765fa7 /libre/psutils-libre/PKGBUILD | |
parent | 52281f6006c5a93b3d5fd1fec4f48c6591f91f91 (diff) | |
parent | 7166e2302ae1b95734a166b65f432cb1706779a4 (diff) | |
download | abslibre-9120886b119a1d60704f67e26509d05dd301649a.tar.gz abslibre-9120886b119a1d60704f67e26509d05dd301649a.tar.bz2 abslibre-9120886b119a1d60704f67e26509d05dd301649a.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/abslibre
Diffstat (limited to 'libre/psutils-libre/PKGBUILD')
-rw-r--r-- | libre/psutils-libre/PKGBUILD | 42 |
1 files changed, 27 insertions, 15 deletions
diff --git a/libre/psutils-libre/PKGBUILD b/libre/psutils-libre/PKGBUILD index 6ed3b7f60..4cb5ac014 100644 --- a/libre/psutils-libre/PKGBUILD +++ b/libre/psutils-libre/PKGBUILD @@ -1,31 +1,43 @@ -# Maintainer: Henry Jensen <hjensen@connochaetos.org> +# $Id: PKGBUILD 140791 2011-10-19 10:03:22Z andrea $ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor: eric <eric@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> # Contributor: xihh <hahj87@gmail.com> pkgname=psutils-libre pkgver=1.17 -pkgrel=1 +pkgrel=3 +arch=('i686' 'x86_64' 'mips64el') pkgdesc="A set of postscript utilities" -arch=(i686 x86_64) +url="http://www.tardis.ed.ac.uk/~ajcd/psutils/index.html" license=('custom') -depends=('glibc' 'ghostscript') +depends=('glibc' 'ghostscript-libre') provides=('psutils-lprng' 'psutils') replaces=('psutils-lprng' 'psutils') conflicts=('psutils-lprng' 'psutils') -url="http://www.connochaetos.org" -source=(http://www.connochaetos.org/misc/${pkgname}-${pkgver}.tar.gz) -md5sums=('5553b70be2484cef7a76d741a26f24d5') +options=('!makeflags') +source=(http://www.connochaetos.org/misc/${pkgname}-${pkgver}.tar.gz + 'psutils-1.17.diff') +md5sums=('5553b70be2484cef7a76d741a26f24d5' + '2b49e9e796000b42f42804d4b50a2be1') build() { cd "${srcdir}/${pkgname}" + 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" \ + CFLAGS="$CFLAGS -DPAPER=\\\"letter\\\" -DUNIX -Wall" \ + CCFLAGS="$LDFLAGS" +} + +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" \ - PERL=/usr/bin/perl \ - MANDIR="${pkgdir}/usr/share/man/man1" || return 1 - make -j1 -f Makefile.unix BINDIR="${pkgdir}/usr/bin" \ - PERL=/usr/bin/perl \ - MANDIR="${pkgdir}/usr/share/man/man1" install || return 1 + make -f Makefile.unix BINDIR="${pkgdir}/usr/bin" \ + INCLUDEDIR="${pkgdir}/usr/include/psutils" PERL=/usr/bin/perl \ + 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.orig "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 + install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/" } |