aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-07-01 08:54:30 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-01 08:54:30 +0000
commit55f738b3d1c11b8fc427053ddaece82e91bba5d2 (patch)
tree41e5a3d37f792d77fe514cf98c44dc2934990aee /main
parentc1e04beb51afe2e76daa0d119b212a0936b2da85 (diff)
downloadaports-55f738b3d1c11b8fc427053ddaece82e91bba5d2.tar.bz2
aports-55f738b3d1c11b8fc427053ddaece82e91bba5d2.tar.xz
main/libmpc: remove *.la
Diffstat (limited to 'main')
-rw-r--r--main/libmpc/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/libmpc/APKBUILD b/main/libmpc/APKBUILD
index 86a687e80f..2fb1129351 100644
--- a/main/libmpc/APKBUILD
+++ b/main/libmpc/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libmpc
pkgver=0.9
-pkgrel=0
+pkgrel=1
pkgdesc="Multiprecision C library"
url="http://www.multiprecision.org/"
arch="all"
@@ -35,7 +35,8 @@ build() {
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="0d6acab8d214bd7d1fbbc593e83dd00d mpc-0.9.tar.gz"