summaryrefslogtreecommitdiff
path: root/community/collectd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/collectd/PKGBUILD')
-rw-r--r--community/collectd/PKGBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/community/collectd/PKGBUILD b/community/collectd/PKGBUILD
index ec2720150..9f8449bbb 100644
--- a/community/collectd/PKGBUILD
+++ b/community/collectd/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 88406 2013-04-17 07:01:42Z bisson $
+# $Id: PKGBUILD 91648 2013-05-26 09:24:29Z bluewind $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Gerhard Brauer <gerhard.brauer@web.de>
pkgname=collectd
pkgver=5.3.0
-pkgrel=1
+pkgrel=3
pkgdesc='Daemon which collects system performance statistics periodically'
url='http://collectd.org/'
arch=('i686' 'x86_64' 'mips64el')
@@ -40,12 +40,10 @@ depends=('libltdl' 'iptables')
source=("${url}files/${pkgname}-${pkgver}.tar.gz"
'libperl.patch'
- 'service'
- 'rc.d')
+ 'service')
sha1sums=('53879095aa51b7dd0b30882b0c9b6ce8c93a8539'
'245c098d121a4a05594553583310953b3a2f6461'
- 'b56907f532b9174e1b6995aadb518228d7464d3b'
- '0f441718d5519cb043b1130e5a1d0379078adbcc')
+ '04f676d0b76c34df0bbf94629813e035b1febe04')
backup=('etc/collectd.conf')
options=('!libtool')
@@ -64,7 +62,8 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --enable-static=no \
+ --sbindir=/usr/bin \
+ --disable-static \
--with-python=/usr/bin/python2
make all
}
@@ -73,7 +72,6 @@ package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
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
}