summaryrefslogtreecommitdiff
path: root/community/collectd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-09 00:02:00 +0000
committerroot <root@rshg054.dnsready.net>2012-07-09 00:02:00 +0000
commit6f492df5ae2ab0d2bd117d6f1c458d52e2e24585 (patch)
tree51e61122d46459be560a778ce76bdf527edf5334 /community/collectd
parenta522a5f63f3b5726081698bf742801fb1d242817 (diff)
Mon Jul 9 00:02:00 UTC 2012
Diffstat (limited to 'community/collectd')
-rw-r--r--community/collectd/PKGBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/community/collectd/PKGBUILD b/community/collectd/PKGBUILD
index 363fcd830..d8379a3e2 100644
--- a/community/collectd/PKGBUILD
+++ b/community/collectd/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 72138 2012-06-09 00:34:11Z dreisner $
+# $Id: PKGBUILD 73395 2012-07-07 05:48:11Z foutrelis $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Gerhard Brauer <gerhard.brauer@web.de>
pkgname=collectd
pkgver=5.1.0
-pkgrel=4
+pkgrel=5
pkgdesc='Daemon which collects system performance statistics periodically'
url='http://collectd.org/'
arch=('i686' 'x86_64')
@@ -76,10 +76,8 @@ package() {
make DESTDIR="${pkgdir}" install
- install -Dm755 "$srcdir"/rc.d "${pkgdir}/etc/rc.d/${pkgname}"
- install -Dm644 "$srcdir"/service "${pkgdir}"/usr/lib/systemd/system/collectd.service
+ rmdir "${pkgdir}/var/run" # FS#30201
+ install -Dm755 ../rc.d "${pkgdir}/etc/rc.d/${pkgname}"
+ install -Dm644 ../service "${pkgdir}"/usr/lib/systemd/system/collectd.service
install -Dm644 contrib/collectd2html.pl "${pkgdir}"/usr/share/collectd/collectd2html.pl
-
- # avoid conflict with filesystem>=2012.06
- rmdir "$pkgdir/var/run"
}