aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/libusb-compat/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/libusb-compat/APKBUILD b/main/libusb-compat/APKBUILD
index 1fc06cafdf..cf4ed97af7 100644
--- a/main/libusb-compat/APKBUILD
+++ b/main/libusb-compat/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libusb-compat
pkgver=0.1.3
-pkgrel=1
+pkgrel=2
pkgdesc="Compatility for older libusb"
url="http://libusb.sourceforge.net/"
arch="all"
@@ -20,6 +20,7 @@ build() {
package() {
cd "$srcdir"/$pkgname-$pkgver
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="570ac2ea085b80d1f74ddc7c6a93c0eb libusb-compat-0.1.3.tar.bz2"