# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Contributor: Tom Newsom # Maintainer: Jason Chu pkgname=procstatd pkgver=1.4.2 pkgrel=4 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/" build() { cd $startdir/src/$pkgname # Get rid of the funky mkae install forever bug sed -i 's/make install/echo/;s/cd watchman/echo/' Makefile make || return 1 make INSTDIR=$startdir/pkg/usr install #mkdir -p $startdir/pkg/usr/share/procstatd-extras #cp -R webwatch $startdir/pkg/usr/share/procstatd-extras/ }