aboutsummaryrefslogtreecommitdiffstats
path: root/main/usbutils/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/usbutils/APKBUILD')
-rw-r--r--main/usbutils/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/main/usbutils/APKBUILD b/main/usbutils/APKBUILD
index 6d3ac341a2..f3ff638fe2 100644
--- a/main/usbutils/APKBUILD
+++ b/main/usbutils/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=usbutils
-pkgver=0.86
+pkgver=0.87
pkgrel=0
pkgdesc="USB Device Utilities"
url="http://linux-usb.sourceforge.net/"
@@ -8,10 +8,9 @@ license="GPL"
subpackags="$pkgname-doc"
depends=
makedepends="pkgconfig libusb-compat-dev"
-source="http://downloads.sourceforge.net/sourceforge/linux-usb/$pkgname-$pkgver.tar.gz"
+source="http://www.kernel.org/pub/linux/utils/usb/$pkgname/$pkgname-$pkgver.tar.gz"
-build ()
-{
+build() {
cd "$srcdir"/$pkgname-$pkgver
rm usb.ids
wget http://www.linux-usb.org/usb.ids
@@ -19,6 +18,11 @@ build ()
--datadir=/usr/share/hwdata \
--disable-zlib
make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
-md5sums="34979f675d2bcb3e1b45012fa830a53f usbutils-0.86.tar.gz"
+
+md5sums="c19a11092dd0f5a5c6a93b0599740fe5 usbutils-0.87.tar.gz"