git » usbutils.git » commit 46d53f8

rebuild for hwids

author Tom Gundersen
2012-05-20 23:40:56 UTC
committer Tom Gundersen
2012-05-20 23:40:56 UTC
parent dfd34a6a91eaf8870d0168ef905f6f00ef979fe5

rebuild for hwids

PKGBUILD +5 -4

diff --git a/PKGBUILD b/PKGBUILD
index 57634f1..01351d5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,15 +4,14 @@
 # Contributor: Curtis Campbell <curtisjamescampbell@hotmail.com>
 pkgname=usbutils
 pkgver=005
-pkgrel=1
+pkgrel=2
 pkgdesc="USB Device Utilities"
 arch=(i686 x86_64)
 license=('GPL')
 groups=('base')
-depends=('libusb')
+depends=('libusb' 'hwids')
 optdepends=('python2: for lsusb.py usage'
-            'coreutils: for lsusb.py usage'
-            'wget: for update-usbids.sh usage')
+            'coreutils: for lsusb.py usage')
 url="http://linux-usb.sourceforge.net/"
 # currently broken: http://www.kernel.org/pub/linux/utils/usb/$pkgname/$pkgname-$pkgver.tar.gz
 source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
@@ -29,6 +28,8 @@ build() {
 package() {
   cd $srcdir/$pkgname-$pkgver
   make DESTDIR=$pkgdir install
+  # this is now in the hwids package
+  rm -rf $pkgdir/usr/{share/hwdata,sbin}
 }
 md5sums=('6a21f7b6c02b76df5e8a7c208d746654'
          '45766196895b4cc50b53cd56e1bbf3d1')