archrelease: copy trunk to extra-x86_64
[arch-packages.git] / psutils / repos / extra-any / PKGBUILD
bloba890faa7c8a1062d0f2bec1b1b0ab9f11c9a8ce3
1 # Maintainer:
2 # Contributor: Ronald van Haren <ronald.archlinux.org>
3 # Contributor: eric <eric@archlinux.org>
4 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
5  
6 pkgname=psutils
7 pkgver=2.10
8 pkgrel=1
9 arch=('any')
10 pkgdesc="A set of postscript utilities"
11 url="https://github.com/rrthomas/psutils"
12 license=('GPL3')
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')
18 build() {
19   cd ${pkgname}-${pkgver}
20   
21   export CFLAGS="$CFLAGS -DPAPER=\\\"letter\\\" -DUNIX -Wall" \
22   export CCFLAGS="$LDFLAGS"
24   ./configure --prefix=/usr
25   make
28 package() {
29   cd ${pkgname}-${pkgver}
30   make DESTDIR="${pkgdir}" install