initial import
This commit is contained in:
29
psutils/PKGBUILD
Normal file
29
psutils/PKGBUILD
Normal file
@@ -0,0 +1,29 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=psutils
|
||||
pkgver=2.05
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
pkgdesc='A set of postscript utilities'
|
||||
url='https://github.com/rrthomas/psutils'
|
||||
license=('GPL-3')
|
||||
depends=('glibc' 'ghostscript' 'perl' 'perl-ipc-run3' 'libpaper')
|
||||
options=('!makeflags')
|
||||
source=("https://github.com/rrthomas/psutils/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
||||
sha512sums=('6d32653af67466daaae8b640e047ea19f07fa678b2a416fc82b3c83b9961ea6a3f298ec84154033e4ab0cca990d63c44f286eaedb6df6a5022a985491b8c18b0')
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
export CFLAGS="$CFLAGS -DPAPER=\\\"letter\\\" -DUNIX -Wall" \
|
||||
export CCFLAGS="$LDFLAGS"
|
||||
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user