Merge pull request #343 from onekk/master

psutils: initial commit
This commit is contained in:
Juan RP 2014-04-15 09:07:06 +02:00
commit abd4a0a2d6
2 changed files with 2554 additions and 0 deletions

File diff suppressed because it is too large Load Diff

36
srcpkgs/psutils/template Normal file
View File

@ -0,0 +1,36 @@
# Template file for 'psutils'
pkgname="psutils"
version="p17"
revision=1
build_style=gnu-makefile
short_desc="Set of utilities to manipulate PostScript files"
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
license="AJCD-License"
hostmakedepends="perl "
makedepends="ghostscript"
depends="ghostscript"
homepage="http://knackered.org/angus/psutils/"
wrksrc="/psutils"
distfiles="ftp://ftp.knackered.org/pub/psutils/${pkgname}-${version}.tar.gz"
checksum="3853eb79584ba8fbe27a815425b65a9f7f15b258e0d43a05a856bdb75d588ae4"
patch_args="-Np1"
pre_configure() {
# install in /usr instead of /usr/local
sed 's@/usr/local@/usr@g' Makefile.unix > Makefile
}
do_build() {
make
}
do_install() {
make DESTDIR=${DESTDIR} install
vinstall LICENSE 644 usr/share/licenses/${pkgname}
vinstall LICENSE 644 usr/share/${pkgname}
vinstall README 644 usr/share/${pkgname}
vinstall README.voidlinux 644 usr/share/${pkgname}
}