summaryrefslogtreecommitdiff
path: root/testing/psmisc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/psmisc/PKGBUILD')
-rw-r--r--testing/psmisc/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/psmisc/PKGBUILD b/testing/psmisc/PKGBUILD
new file mode 100644
index 000000000..eae984840
--- /dev/null
+++ b/testing/psmisc/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 148578 2012-02-03 23:11:21Z eric $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+
+pkgname=psmisc
+pkgver=22.15
+pkgrel=1
+pkgdesc="Miscellaneous procfs tools"
+arch=('i686' 'x86_64')
+url="http://psmisc.sourceforge.net/index.html"
+license=('GPL')
+groups=('base')
+depends=('ncurses')
+source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz COMM_LEN-to-18.patch)
+sha1sums=('06f507d889afab70ac7ff20fbd419ca2ffcf90c0'
+ '6f45338fc34e453bea5273691a0cf81ed3e20fb8')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i ../COMM_LEN-to-18.patch
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}