summaryrefslogtreecommitdiff
path: root/libre/psutils-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/psutils-libre/PKGBUILD')
-rw-r--r--libre/psutils-libre/PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/libre/psutils-libre/PKGBUILD b/libre/psutils-libre/PKGBUILD
index 4cb5ac014..25e88f492 100644
--- a/libre/psutils-libre/PKGBUILD
+++ b/libre/psutils-libre/PKGBUILD
@@ -4,6 +4,7 @@
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: xihh <hahj87@gmail.com>
+_pkgname=psutils
pkgname=psutils-libre
pkgver=1.17
pkgrel=3
@@ -11,18 +12,18 @@ arch=('i686' 'x86_64' 'mips64el')
pkgdesc="A set of postscript utilities"
url="http://www.tardis.ed.ac.uk/~ajcd/psutils/index.html"
license=('custom')
-depends=('glibc' 'ghostscript-libre')
+depends=('glibc' 'gnu-ghostscript')
provides=('psutils-lprng' 'psutils')
replaces=('psutils-lprng' 'psutils')
conflicts=('psutils-lprng' 'psutils')
options=('!makeflags')
-source=(http://www.connochaetos.org/misc/${pkgname}-${pkgver}.tar.gz
+source=("ftp://ftp.archlinux.org/other/psutils/${_pkgname}-${pkgver}.tar.gz"
'psutils-1.17.diff')
-md5sums=('5553b70be2484cef7a76d741a26f24d5'
+md5sums=('b161522f3bd1507655326afa7db4a0ad'
'2b49e9e796000b42f42804d4b50a2be1')
build() {
- cd "${srcdir}/${pkgname}"
+ cd "${srcdir}/${_pkgname}"
patch -Np1 -i "${srcdir}/psutils-1.17.diff"
make -f Makefile.unix BINDIR="${pkgdir}/usr/bin" \
INCLUDEDIR="${pkgdir}/usr/include/psutils" PERL=/usr/bin/perl \
@@ -32,12 +33,12 @@ build() {
}
package() {
- cd "${srcdir}/${pkgname}"
+ cd "${srcdir}/${_pkgname}"
install -d -m755 "${pkgdir}/usr/include"
install -d -m755 "${pkgdir}/usr/share/man"
make -f Makefile.unix BINDIR="${pkgdir}/usr/bin" \
INCLUDEDIR="${pkgdir}/usr/include/psutils" PERL=/usr/bin/perl \
MANDIR="${pkgdir}/usr/share/man/man1" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
+ install -m755 -d "${pkgdir}/usr/share/licenses/${_pkgname}"
+ install -m644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/"
}