diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/libusb/APKBUILD | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/main/libusb/APKBUILD b/main/libusb/APKBUILD index 9a4e4e6066..d9c58aa60b 100644 --- a/main/libusb/APKBUILD +++ b/main/libusb/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libusb pkgver=1.0.8 -pkgrel=2 +pkgrel=3 pkgdesc="Library to enable user space application programs to communicate with USB devices" url="http://libusb.sourceforge.net/" arch="all" @@ -11,11 +11,15 @@ depends="" makedepends="" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2" -build () -{ +build() { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr --disable-build-docs make || return 1 - make DESTDIR="$pkgdir" install +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install || return 1 + rm "$pkgdir"/usr/lib/*.la || return 1 } md5sums="37d34e6eaa69a4b645a19ff4ca63ceef libusb-1.0.8.tar.bz2" |