diff options
-rw-r--r-- | libre/psutils-libre/PKGBUILD | 31 |
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 +} |