summaryrefslogtreecommitdiff
path: root/community/procstatd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/procstatd/PKGBUILD')
-rw-r--r--community/procstatd/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/procstatd/PKGBUILD b/community/procstatd/PKGBUILD
new file mode 100644
index 000000000..d72ce0b15
--- /dev/null
+++ b/community/procstatd/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 91870 2013-05-28 17:44:13Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# Maintainer: Jason Chu <jason@archlinux.org>
+
+pkgname=procstatd
+pkgver=1.4.2
+pkgrel=8
+pkgdesc="A daemon that can be run either from userspace or inetd that can be queried via a simple API to parse various files in /proc"
+arch=('i686 x86_64')
+license=('GPL')
+source=(http://downloads.sourceforge.net/herdtools/$pkgname.tar.gz)
+md5sums=('1fdeaf05ca6337f5c02e76a76c53c407')
+url="http://www.phy.duke.edu/brahma/"
+md5sums=('1fdeaf05ca6337f5c02e76a76c53c407')
+
+build() {
+ cd $srcdir/$pkgname
+ # Get rid of the funky make install forever bug
+ sed -i 's/make install/echo/;s/cd watchman/echo/;s@$(INSTDIR)/sbin@$(INSTDIR)/bin@' Makefile
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname
+ make INSTDIR=$pkgdir/usr install
+ mkdir ${pkgdir}/usr/share
+ mv ${pkgdir}/usr/man ${pkgdir}/usr/share/man
+}