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/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/libre/psutils-libre/PKGBUILD b/libre/psutils-libre/PKGBUILD
index ce2758d8e..4b579d677 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
@@ -16,13 +17,13 @@ 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}/"
}