summaryrefslogtreecommitdiff
path: root/community/procstatd/PKGBUILD
blob: 05d23fbcb7ef94a2eeaa68ff0468c7b79d02d92c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 5270 2009-11-07 13:16:35Z ibiru $
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Jason Chu <jason@archlinux.org>

pkgname=procstatd
pkgver=1.4.2
pkgrel=5
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' 'mips64el')
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 ${pkgdir}/usr/share
mv ${pkgdir}/usr/man ${pkgdir}/usr/share/man
#mkdir -p $startdir/pkg/usr/share/procstatd-extras
#cp -R webwatch $startdir/pkg/usr/share/procstatd-extras/
}