summaryrefslogtreecommitdiffstats
path: root/abs/extra/sysstat/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-26 15:04:05 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-26 15:04:05 (GMT)
commitfccef9fc28ca5fdd0df77801164ad9a2063ce585 (patch)
tree9b82b875604ebff759418275f1009313d964a50e /abs/extra/sysstat/PKGBUILD
parent360da4deba34e8f7f8d99f959b0d961a3c5be407 (diff)
downloadlinhes_pkgbuild-fccef9fc28ca5fdd0df77801164ad9a2063ce585.zip
linhes_pkgbuild-fccef9fc28ca5fdd0df77801164ad9a2063ce585.tar.gz
linhes_pkgbuild-fccef9fc28ca5fdd0df77801164ad9a2063ce585.tar.bz2
systat: 10.1.2
Diffstat (limited to 'abs/extra/sysstat/PKGBUILD')
-rw-r--r--abs/extra/sysstat/PKGBUILD19
1 files changed, 12 insertions, 7 deletions
diff --git a/abs/extra/sysstat/PKGBUILD b/abs/extra/sysstat/PKGBUILD
index 07c36c2..0c7867a 100644
--- a/abs/extra/sysstat/PKGBUILD
+++ b/abs/extra/sysstat/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id$
+# $Id: PKGBUILD 77464 2012-10-10 16:04:46Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Martin Devera <devik@cdi.cz>
pkgname=sysstat
-pkgver=10.0.1
+pkgver=10.1.2
pkgrel=1
pkgdesc="a collection of performance monitoring tools (iostat,isag,mpstat,pidstat,sadf,sar)"
arch=('i686' 'x86_64')
@@ -13,14 +13,19 @@ depends=('lm_sensors')
optdepends=('tk: to use isag'
'gnuplot: to use isag')
options=(zipman)
+backup=('etc/conf.d/sysstat'
+ 'etc/conf.d/sysstat.ioconf')
source=(http://pagesperso-orange.fr/sebastien.godard/$pkgname-$pkgver.tar.gz
- sysstat)
-md5sums=('a8b12230452dc0e0b6cae5fd5ec3c579'
- 'ad46159609a2c13b4a46b506ff847bf6')
+ sysstat
+ sysstat.service)
+md5sums=('c40626b96cc2b4cf303cbcf1efc96eba'
+ '3ce41ebf7330aba01e70b38658afed1f'
+ '12ba479c606620193e8b7c6e982d5088')
build() {
cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ conf_dir=/etc/conf.d ./configure --prefix=/usr \
+ --enable-yesterday \
--mandir=/usr/share/man \
--enable-install-isag \
--disable-man-group
@@ -30,9 +35,9 @@ build() {
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
+ install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
}