summaryrefslogtreecommitdiff
path: root/libre/psutils-libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-21 01:48:33 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-21 01:48:33 -0300
commit393ffa34868b5650459974544958246638d30521 (patch)
tree8bc9154ab701b8171211cb7b86d3ce2187a95849 /libre/psutils-libre
parentbd8553e64f7e1310ea51b6980bd342e50bec0f04 (diff)
psutils-libre-1.17-4: fix freedom issue and update revision
Diffstat (limited to 'libre/psutils-libre')
-rw-r--r--libre/psutils-libre/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/libre/psutils-libre/PKGBUILD b/libre/psutils-libre/PKGBUILD
index 3679222b1..d6fcff26e 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')
@@ -25,9 +26,11 @@ md5sums=('b161522f3bd1507655326afa7db4a0ad'
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" \
+ # 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"
}