[arch-commits] Commit in usbutils/trunk (PKGBUILD)

Tom Gundersen tomegun at archlinux.org
Sun May 20 23:40:56 UTC 2012


    Date: Sunday, May 20, 2012 @ 19:40:56
  Author: tomegun
Revision: 159292

upgpkg: usbutils 005-2

rebuild for hwids

Modified:
  usbutils/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-05-20 23:30:35 UTC (rev 159291)
+++ PKGBUILD	2012-05-20 23:40:56 UTC (rev 159292)
@@ -5,15 +5,14 @@
 # Contributor: Curtis Campbell <curtisjamescampbell at 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"
@@ -30,6 +29,8 @@
 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')




More information about the arch-commits mailing list