diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-22 00:18:50 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-22 00:18:50 -0600 |
commit | b8ca2c30f3805e3c697b689f41e7c3f57a9f2c8e (patch) | |
tree | 5ea72d41d0f6799dd6b2123703133a860810a023 /libre/psutils-libre/PKGBUILD | |
parent | bbbfa15c7556da095dba31c83f2a73bc2aaa2009 (diff) | |
parent | fed8f532d64588f7ef94befe5b6c8c84eb3b4430 (diff) | |
download | abslibre-b8ca2c30f3805e3c697b689f41e7c3f57a9f2c8e.tar.gz abslibre-b8ca2c30f3805e3c697b689f41e7c3f57a9f2c8e.tar.bz2 abslibre-b8ca2c30f3805e3c697b689f41e7c3f57a9f2c8e.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/psutils-libre/PKGBUILD')
-rw-r--r-- | libre/psutils-libre/PKGBUILD | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/libre/psutils-libre/PKGBUILD b/libre/psutils-libre/PKGBUILD index 3679222b1..4a55ea38e 100644 --- a/libre/psutils-libre/PKGBUILD +++ b/libre/psutils-libre/PKGBUILD @@ -1,16 +1,17 @@ -# $Id: PKGBUILD 140791 2011-10-19 10:03:22Z andrea $ +# $Id: PKGBUILD 176972 2013-02-03 07:11:03Z allan $ # Maintainer: Ronald van Haren <ronald.archlinux.org> # Contributor: eric <eric@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> -# Contributor: xihh <hahj87@gmail.com> +# Maintainer (Parabola): André Silva <emulatorman@lavabit.com> +# Contributor (Parabola): xihh <hahj87@gmail.com> _pkgname=psutils pkgname=psutils-libre pkgver=1.17 -pkgrel=3.1 +pkgrel=4 arch=('i686' 'x86_64' 'mips64el') -pkgdesc="A set of postscript utilities" -url="http://www.tardis.ed.ac.uk/~ajcd/psutils/index.html" +pkgdesc="A set of postscript utilities, without nonfree files" +url="http://knackered.org/angus/psutils/" license=('custom') depends=('glibc' 'ghostscript') provides=('psutils-lprng' 'psutils') @@ -18,16 +19,22 @@ replaces=('psutils-lprng' 'psutils') conflicts=('psutils-lprng' 'psutils') options=('!makeflags') source=("ftp://ftp.archlinux.org/other/psutils/${_pkgname}-${pkgver}.tar.gz" - 'psutils-1.17.diff') + 'psutils-1.17.diff' + 'libre.patch') md5sums=('b161522f3bd1507655326afa7db4a0ad' - '2b49e9e796000b42f42804d4b50a2be1') + '2b49e9e796000b42f42804d4b50a2be1' + 'a4beaf371607085e89ef190c1db7aee3') 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" \ + # apply patch to remove nonfree files support from Makefile + patch -Np1 -i "${srcdir}/libre.patch" + # remove nonfree files + rm -v {fixmacps.{man,pl},md{68_0,71_0}.ps} + make -f Makefile.unix BINDIR=/usr/bin \ + INCLUDEDIR=/usr/include/psutils PERL=/usr/bin/perl \ + MANDIR=/usr/share/man/man1 \ CFLAGS="$CFLAGS -DPAPER=\\\"letter\\\" -DUNIX -Wall" \ CCFLAGS="$LDFLAGS" } |