git » usbutils.git » commit c158873

upgpkg: 0.81-1

author Tobias Powalowski
2009-05-03 15:33:31 UTC
committer Tobias Powalowski
2009-05-03 15:33:31 UTC
parent 49a801a24c71b85c31d97b18fb2ab0c977058f09

upgpkg: 0.81-1

PKGBUILD +7 -8

diff --git a/PKGBUILD b/PKGBUILD
index dc2261a..592531b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,23 @@
 # Maintainer: Judd Vinet <jvinet@zeroflux.org>
 # Contributor: Curtis Campbell <curtisjamescampbell@hotmail.com>
 pkgname=usbutils
-pkgver=0.73
-pkgrel=5
+pkgver=0.81
+pkgrel=1
 pkgdesc="USB Device Utilities"
 arch=(i686 x86_64)
 license=('GPL')
 groups=('base')
 makedepends=('wget')
 depends=('glibc' 'libusb')
-url="http://usb.cs.tum.edu/"
+url="http://linux-usb.sourceforge.net/"
 source=(http://downloads.sourceforge.net/sourceforge/linux-usb/usbutils-$pkgver.tar.gz)
-md5sums=('88978b4ad891f610620b1b8e5e0f43eb')
 
 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
+  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
 }
+md5sums=('ba5e44d49ebf382015e96f43ce982abb')