summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-30 23:39:20 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-30 23:39:20 (GMT)
commitda4a4737a65b6b9ec1b640ead5f30f87287db7c4 (patch)
treed086c6338bafd04aaed26cfbe0263cec85a82352 /abs/core
parent5505b4fd4078ec7378fe693bfa94c200de62c12b (diff)
downloadlinhes_pkgbuild-da4a4737a65b6b9ec1b640ead5f30f87287db7c4.zip
linhes_pkgbuild-da4a4737a65b6b9ec1b640ead5f30f87287db7c4.tar.gz
linhes_pkgbuild-da4a4737a65b6b9ec1b640ead5f30f87287db7c4.tar.bz2
usbutils: upgrade
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/usbutils/PKGBUILD31
1 files changed, 18 insertions, 13 deletions
diff --git a/abs/core/usbutils/PKGBUILD b/abs/core/usbutils/PKGBUILD
index 944e26a..fff0508 100644
--- a/abs/core/usbutils/PKGBUILD
+++ b/abs/core/usbutils/PKGBUILD
@@ -1,25 +1,30 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 87429 2010-08-13 10:22:39Z tpowa $
# Maintainer: Judd Vinet <jvinet@zeroflux.org>
# Contributor: Curtis Campbell <curtisjamescampbell@hotmail.com>
pkgname=usbutils
-pkgver=0.73
-pkgrel=14
+pkgver=0.90
+pkgrel=1
pkgdesc="USB Device Utilities"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
license=('GPL')
groups=('base')
makedepends=('wget')
depends=('glibc' 'libusb')
-url="http://usb.cs.tum.edu/"
-source=(http://downloads.sourceforge.net/sourceforge/linux-usb/usbutils-$pkgver.tar.gz)
-md5sums=('88978b4ad891f610620b1b8e5e0f43eb')
+url="http://linux-usb.sourceforge.net/"
+source=(http://www.kernel.org/pub/linux/utils/usb/$pkgname/$pkgname-$pkgver.tar.gz)
build() {
- cd $startdir/src/$pkgname-$pkgver
- ./update-usbids.sh
- sed -i 's|DEST=|&/usr/share/hwdata/|' update-usbids.sh
- ./configure --prefix=/usr --datadir=/usr/share/hwdata --enable-usbmodules --disable-zlib
+ cd $srcdir/$pkgname-$pkgver
+ rm usb.ids
+ wget http://www.linux-usb.org/usb.ids
+ ./configure --prefix=/usr --datadir=/usr/share/hwdata --disable-zlib
make || return 1
- make DESTDIR=$startdir/pkg install
- install -D -m755 update-usbids.sh $startdir/pkg/usr/sbin/update-usbids
}
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+ # fix pkgconfig file
+ mkdir -p $pkgdir/usr/lib
+ mv $pkgdir/usr/share/hwdata/pkgconfig $pkgdir/usr/lib/
+}
+md5sums=('53f0269e2cba704d5a35dfe291511292')