diff options
Diffstat (limited to 'core/usbutils/PKGBUILD')
-rw-r--r-- | core/usbutils/PKGBUILD | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/core/usbutils/PKGBUILD b/core/usbutils/PKGBUILD index 31c83a9e9..bab1e0b37 100644 --- a/core/usbutils/PKGBUILD +++ b/core/usbutils/PKGBUILD @@ -1,9 +1,10 @@ -# $Id: PKGBUILD 118970 2011-04-09 20:52:11Z tpowa $ +# $Id: PKGBUILD 123172 2011-05-09 02:20:17Z allan $ # Maintainer: Judd Vinet <jvinet@zeroflux.org> # Contributor: Curtis Campbell <curtisjamescampbell@hotmail.com> pkgname=usbutils pkgver=002 -pkgrel=2 +pkgrel=3 +_usb_ids_date=2011.04.14 pkgdesc="USB Device Utilities" arch=(i686 x86_64 'mips64el') license=('GPL') @@ -14,16 +15,18 @@ optdepends=('python2: for lsusb.py usage' 'coreutils: for lsusb.py usage') url="http://linux-usb.sourceforge.net/" source=(http://www.kernel.org/pub/linux/utils/usb/$pkgname/$pkgname-$pkgver.tar.gz - fix-python2.patch) + fix-python2.patch + usb.ids-${_usb_ids_date}) # from http://linux-usb.sourceforge.net/usb.ids md5sums=('05610d15c3c8c8ada3d691c320ca784a' - '45766196895b4cc50b53cd56e1bbf3d1') + '45766196895b4cc50b53cd56e1bbf3d1' + 'd64f120c208ca742d3a1d05d84e3f531') build() { cd $srcdir/$pkgname-$pkgver rm usb.ids - wget http://www.linux-usb.org/usb.ids + cp $srcdir/usb.ids-${_usb_ids_date} usb.ids # patch lsusb.py to use correct usb.ids file and python2 interpreter - patch -Np1 -i ../fix-python2.patch + patch -Np1 -i $srcdir/fix-python2.patch ./configure --prefix=/usr --datadir=/usr/share/hwdata --disable-zlib make } @@ -32,6 +35,6 @@ package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install # fix pkgconfig file - mkdir -p $pkgdir/usr/lib + install -dm755 $pkgdir/usr/lib mv $pkgdir/usr/share/pkgconfig $pkgdir/usr/lib/ } |