jobextra/psutils/PKGBUILD

42 lines
1.1 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=psutils
pkgver=2.10
pkgrel=01
pkgdesc="A set of postscript utilities"
url="https://github.com/rrthomas/psutils"
depends=('glibc' 'ghostscript' 'perl' 'perl-ipc-run3' 'libpaper')
options=('!makeflags')
source=("https://github.com/rrthomas/psutils/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
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
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL3')
sha256sums=(6f8339fd5322df5c782bfb355d9f89e513353220fca0700a5a28775404d7e98b) # psutils-2.10.tar.gz
## 8931c62ce8d2629b5934fcc42415c7b4d87d2402080c99ed87b70e4916f8c3fa psutils-2.10-01-x86_64.pkg.tar.lz