aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/usbutils/APKBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/main/usbutils/APKBUILD b/main/usbutils/APKBUILD
index d053451270..95207eb0ac 100644
--- a/main/usbutils/APKBUILD
+++ b/main/usbutils/APKBUILD
@@ -1,18 +1,17 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=usbutils
pkgver=007
-pkgrel=3
+pkgrel=4
pkgdesc="USB Device Utilities"
url="http://linux-usb.sourceforge.net/"
arch="all"
-license="GPL"
+license="GPL2+"
subpackages="$pkgname-doc"
depends="hwdata-usb"
makedepends="pkgconfig libusbx-dev"
-source="http://www.kernel.org/pub/linux/utils/usb/usbutils/${pkgname}-${pkgver}.tar.xz"
+source="http://www.kernel.org/pub/linux/utils/usb/usbutils/$pkgname-$pkgver.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
-
prepare() {
cd "$_builddir"
update_config_sub || return 1
@@ -33,7 +32,7 @@ build() {
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
mkdir -p "$pkgdir"/usr/lib/
mv "$pkgdir"/usr/share/pkgconfig \
"$pkgdir"/usr/lib/