aboutsummaryrefslogtreecommitdiffstats
path: root/main/libvdpau/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libvdpau/APKBUILD')
-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
}