summaryrefslogtreecommitdiff
path: root/libre/psutils-libre/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-02-10 10:42:44 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-02-10 10:42:44 -0300
commit9bac70f5cfe1d8cd9455d123a0918b17a0510de2 (patch)
treed7baed171777a2deed4f14a8105e1bf4744e85de /libre/psutils-libre/PKGBUILD
parent3ab8f176f2dccdd17045a329135efa829c801a93 (diff)
psutils-libre-1.17-1
Diffstat (limited to 'libre/psutils-libre/PKGBUILD')
-rw-r--r--libre/psutils-libre/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/libre/psutils-libre/PKGBUILD b/libre/psutils-libre/PKGBUILD
new file mode 100644
index 000000000..6ed3b7f60
--- /dev/null
+++ b/libre/psutils-libre/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Henry Jensen <hjensen@connochaetos.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# Contributor: xihh <hahj87@gmail.com>
+
+pkgname=psutils-libre
+pkgver=1.17
+pkgrel=1
+pkgdesc="A set of postscript utilities"
+arch=(i686 x86_64)
+license=('custom')
+depends=('glibc' 'ghostscript')
+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')
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ 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
+ 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
+}