summaryrefslogtreecommitdiff
path: root/community/sysstat/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
committerroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
commit5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (patch)
tree438c05155823f16b71f4277fef949610bf6fe826 /community/sysstat/PKGBUILD
parent108636e69eaeef67f4e7263c7f26105e25979e89 (diff)
Wed Jun 29 23:10:38 UTC 2011
Diffstat (limited to 'community/sysstat/PKGBUILD')
-rw-r--r--community/sysstat/PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/community/sysstat/PKGBUILD b/community/sysstat/PKGBUILD
index 5ba8968d1..59cbb4d36 100644
--- a/community/sysstat/PKGBUILD
+++ b/community/sysstat/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 44500 2011-04-07 20:45:19Z spupykin $
+# $Id: PKGBUILD 50309 2011-06-28 09:32:14Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Martin Devera <devik@cdi.cz>
pkgname=sysstat
-pkgver=10.0.0
-pkgrel=2
+pkgver=10.0.1
+pkgrel=1
pkgdesc="a collection of performance monitoring tools (iostat,isag,mpstat,pidstat,sadf,sar)"
arch=('i686' 'x86_64')
url="http://pagesperso-orange.fr/sebastien.godard/"
@@ -15,23 +15,24 @@ optdepends=('tk: to use isag'
options=(zipman)
source=(http://pagesperso-orange.fr/sebastien.godard/$pkgname-$pkgver.tar.gz
sysstat)
-md5sums=('accc17cc1fa855be6b27def77dd92a0d'
+md5sums=('a8b12230452dc0e0b6cae5fd5ec3c579'
'ad46159609a2c13b4a46b506ff847bf6')
build() {
cd $srcdir/$pkgname-$pkgver
-
./configure --prefix=/usr \
--mandir=/usr/share/man \
--enable-install-isag \
--disable-man-group
make
- make DESTDIR=$pkgdir install
+}
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
install -D -m 644 sysstat.sysconfig $pkgdir/etc/sysstat/sysstat
install -D -m 744 cron/sysstat.cron.hourly $pkgdir/etc/cron.hourly/sysstat
install -D -m 744 cron/sysstat.cron.daily $pkgdir/etc/cron.daily/sysstat
install -D -m 755 $srcdir/sysstat $pkgdir/etc/rc.d/sysstat
-
chown -R root:root $pkgdir
}