aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-06-29 14:52:00 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-06-29 14:52:00 +0000
commitba1d14ebc76785460cabcab30fa5ec66ccedc284 (patch)
tree6bb35c32750768dabd7f877bb267d4108b03b8d7
parent2d32ddaf7c373a1a35a4af5bf094663ac91b4e7a (diff)
downloadaports-ba1d14ebc76785460cabcab30fa5ec66ccedc284.tar.bz2
aports-ba1d14ebc76785460cabcab30fa5ec66ccedc284.tar.xz
main/libmad: remove *.la
-rw-r--r--main/libmad/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/libmad/APKBUILD b/main/libmad/APKBUILD
index bb27460dcf..9688b7d523 100644
--- a/main/libmad/APKBUILD
+++ b/main/libmad/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libmad
pkgver=0.15.1b
-pkgrel=4
+pkgrel=5
pkgdesc="A high-quality MPEG audio decoder"
url="http://www.underbit.com/products/mad/"
arch="all"
@@ -36,7 +36,8 @@ build ()
package() {
cd "$srcdir"/$pkgname-$pkgver
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
install -D -m644 "$srcdir"/mad.pc "$pkgdir"/usr/lib/pkgconfig/mad.pc
}
md5sums="1be543bc30c56fb6bea1d7bf6a64e66c libmad-0.15.1b.tar.gz