summaryrefslogtreecommitdiffstats
path: root/main/collectd/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/collectd/APKBUILD')
-rw-r--r--main/collectd/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/collectd/APKBUILD b/main/collectd/APKBUILD
index 05bbf12c9..6d0a51258 100644
--- a/main/collectd/APKBUILD
+++ b/main/collectd/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=collectd
pkgver=5.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="The system statistics collection daemon"
url="http://collectd.org"
arch="all"
@@ -52,7 +52,9 @@ build() {
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la \
+ "$pkgdir"/usr/lib/collectd/*.la || return 1
find "$pkgdir" -name perllocal.pod -delete
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname