diff options
Diffstat (limited to 'main/usbutils')
-rw-r--r-- | main/usbutils/APKBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/main/usbutils/APKBUILD b/main/usbutils/APKBUILD index bf5c0f6453..642878435f 100644 --- a/main/usbutils/APKBUILD +++ b/main/usbutils/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=usbutils pkgver=008 -pkgrel=1 +pkgrel=2 pkgdesc="USB Device Utilities" url="http://linux-usb.sourceforge.net/" arch="all" @@ -23,14 +23,18 @@ build() { --prefix=/usr \ --datadir=/usr/share/hwdata \ --disable-usbids \ - --disable-zlib \ - || return 1 - make || return 1 + --disable-zlib + make +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install mkdir -p "$pkgdir"/usr/lib/ mv "$pkgdir"/usr/share/pkgconfig \ "$pkgdir"/usr/lib/ |