summaryrefslogtreecommitdiff
path: root/community/collectd/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-21 00:28:39 -0700
committerroot <root@rshg054.dnsready.net>2013-05-21 00:28:39 -0700
commite3f225daecfd5cfea4af1a4e8ac4b6c46c7ec363 (patch)
treeb3e36d93c34b5b08544b1698462c06fdb99560b8 /community/collectd/PKGBUILD
parent383955a81810f344e11b1472bd4c5069fa77020c (diff)
Tue May 21 00:28:39 PDT 2013
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 07b3708d9..59f594221 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 91248 2013-05-20 14:50:52Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Gerhard Brauer <gerhard.brauer@web.de>
pkgname=collectd
pkgver=5.3.0
-pkgrel=1
+pkgrel=2
pkgdesc='Daemon which collects system performance statistics periodically'
url='http://collectd.org/'
arch=('i686' 'x86_64')
@@ -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')
@@ -63,7 +61,8 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --enable-static=no \
+ --sbindir=/usr/bin \
+ --disable-static \
--with-python=/usr/bin/python2
make all
}
@@ -72,7 +71,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
}