archrelease: copy trunk to extra-x86_64
[arch-packages.git] / psutils / trunk / PKGBUILD
bloba58b690e834e691347e93cf4e3e950ebfe2f950e
1 # Maintainer: Ronald van Haren <ronald.archlinux.org>
2 # Contributor: eric <eric@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
4  
5 pkgname=psutils
6 pkgver=2.09
7 pkgrel=1
8 arch=('any')
9 pkgdesc="A set of postscript utilities"
10 url="https://github.com/rrthomas/psutils"
11 license=('GPL3')
12 depends=('glibc' 'ghostscript' 'perl' 'perl-ipc-run3' 'paper')
13 options=('!makeflags')
14 source=("https://github.com/rrthomas/psutils/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
15 sha256sums=('e31ab570e24478ce777b63b300ff428aedc916131cd7b077094311761604b7da')
17 build() {
18   cd ${pkgname}-${pkgver}
19   
20   export CFLAGS="$CFLAGS -DPAPER=\\\"letter\\\" -DUNIX -Wall" \
21   export CCFLAGS="$LDFLAGS"
23   ./configure --prefix=/usr
24   make
27 package() {
28   cd ${pkgname}-${pkgver}
29   make DESTDIR="${pkgdir}" install