aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-07-01 11:14:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-01 11:14:15 +0000
commit714e75aa8ed4fdd1ef71004a12f88655154945f0 (patch)
treebb65305ef314a754a0be5f0bca746abbdfed976d
parent88e1e787d3ea2cb14cee3625e9a9b1f2cf17aa0f (diff)
downloadaports-714e75aa8ed4fdd1ef71004a12f88655154945f0.tar.bz2
aports-714e75aa8ed4fdd1ef71004a12f88655154945f0.tar.xz
main/libvdpau: remove *.la
-rw-r--r--main/libvdpau/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/libvdpau/APKBUILD b/main/libvdpau/APKBUILD
index a4f25ebb9b..b87fba81fe 100644
--- a/main/libvdpau/APKBUILD
+++ b/main/libvdpau/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=libvdpau
pkgver=0.4.1
-pkgrel=0
+pkgrel=1
pkgdesc="Nvidia VDPAU library"
url="http://cgit.freedesktop.org/~aplattner/libvdpau"
arch="all"
@@ -31,7 +31,9 @@ build() {
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/vdpau/*.la \
+ "$pkgdir"/usr/lib/*.la || return 1
install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}