summaryrefslogtreecommitdiff
path: root/community/collectd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/collectd/PKGBUILD')
-rw-r--r--community/collectd/PKGBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/community/collectd/PKGBUILD b/community/collectd/PKGBUILD
index 5ff60e81c..61ec563ef 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' 'mips64el')
@@ -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"
}