From a382c390d476fa65c2ac432696e95318b763da0e Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 1 Jul 2011 09:01:42 +0000 Subject: main/collectd: remove *.la --- main/collectd/APKBUILD | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'main/collectd/APKBUILD') diff --git a/main/collectd/APKBUILD b/main/collectd/APKBUILD index 05bbf12c98..6d0a512584 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 -- cgit v1.2.3