aboutsummaryrefslogtreecommitdiffstats
path: root/main/usbutils
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-04-18 13:24:43 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-04-18 13:24:43 +0000
commit71ffa9310ea57976f3da266e76324df5201f0ceb (patch)
tree93d44621341d9fcd77f368bcc2c90e53da3379fd /main/usbutils
parentaeb22ea5a827953a021e3fb145a1ab51d5b3cc8e (diff)
downloadaports-71ffa9310ea57976f3da266e76324df5201f0ceb.tar.bz2
aports-71ffa9310ea57976f3da266e76324df5201f0ceb.tar.xz
main/usbutils: upgrade to 005
Diffstat (limited to 'main/usbutils')
-rw-r--r--main/usbutils/APKBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/main/usbutils/APKBUILD b/main/usbutils/APKBUILD
index 251accc434..3ae221422f 100644
--- a/main/usbutils/APKBUILD
+++ b/main/usbutils/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=usbutils
-pkgver=004
+pkgver=005
pkgrel=0
pkgdesc="USB Device Utilities"
url="http://linux-usb.sourceforge.net/"
@@ -9,10 +9,12 @@ license="GPL"
subpackags="$pkgname-doc"
depends=
makedepends="pkgconfig libusb-compat-dev"
-source="http://mirror.anl.gov/pub/linux/utils/usb/usbutils/usbutils-$pkgver.tar.gz"
+source="ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
rm usb.ids
wget http://www.linux-usb.org/usb.ids
./configure --prefix=/usr \
@@ -22,11 +24,11 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr/lib/
mv "$pkgdir"/usr/share/pkgconfig \
"$pkgdir"/usr/lib/
}
-md5sums="481e1de453bcabbd5f43125bb4df2ab7 usbutils-004.tar.gz"
+md5sums="6a21f7b6c02b76df5e8a7c208d746654 usbutils-005.tar.bz2"