2 # Contributor: Ronald van Haren <ronald.archlinux.org>
3 # Contributor: eric <eric@archlinux.org>
4 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
10 pkgdesc="A set of postscript utilities"
11 url="https://github.com/rrthomas/psutils"
13 depends=('glibc' 'ghostscript' 'perl' 'perl-ipc-run3' 'libpaper')
14 options=('!makeflags')
15 source=("https://github.com/rrthomas/psutils/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
16 sha256sums=('6f8339fd5322df5c782bfb355d9f89e513353220fca0700a5a28775404d7e98b')
19 cd ${pkgname}-${pkgver}
21 export CFLAGS="$CFLAGS -DPAPER=\\\"letter\\\" -DUNIX -Wall" \
22 export CCFLAGS="$LDFLAGS"
24 ./configure --prefix=/usr
29 cd ${pkgname}-${pkgver}
30 make DESTDIR="${pkgdir}" install