summaryrefslogtreecommitdiff
path: root/community/procstatd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/procstatd/PKGBUILD')
-rw-r--r--community/procstatd/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/community/procstatd/PKGBUILD b/community/procstatd/PKGBUILD
index 35a4f35a7..846b045f8 100644
--- a/community/procstatd/PKGBUILD
+++ b/community/procstatd/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 66164 2012-02-23 02:23:03Z spupykin $
+# $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=6.1
+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' 'mips64el')
license=('GPL')
@@ -17,8 +17,12 @@ 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/' Makefile
+ 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