From 7b2739f21a7ed0d52497fa381c9a2383e71ab7a8 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 10 Jun 2012 00:04:00 +0000 Subject: Sun Jun 10 00:04:00 UTC 2012 --- community/collectd/PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'community/collectd/PKGBUILD') diff --git a/community/collectd/PKGBUILD b/community/collectd/PKGBUILD index 23e14844b..363fcd830 100644 --- a/community/collectd/PKGBUILD +++ b/community/collectd/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 71904 2012-06-03 06:03:10Z bisson $ +# $Id: PKGBUILD 72138 2012-06-09 00:34:11Z dreisner $ # Maintainer: Gaetan Bisson # Contributor: Gerhard Brauer pkgname=collectd pkgver=5.1.0 -pkgrel=3 +pkgrel=4 pkgdesc='Daemon which collects system performance statistics periodically' url='http://collectd.org/' arch=('i686' 'x86_64') @@ -76,7 +76,10 @@ package() { make DESTDIR="${pkgdir}" install - install -Dm755 ../rc.d "${pkgdir}/etc/rc.d/${pkgname}" - install -Dm644 ../service "${pkgdir}"/usr/lib/systemd/system/collectd.service + install -Dm755 "$srcdir"/rc.d "${pkgdir}/etc/rc.d/${pkgname}" + install -Dm644 "$srcdir"/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" } -- cgit v1.2.3-54-g00ecf