[arch-commits] CVS update of core/base/usbutils (PKGBUILD)

Tobias Powalowski tpowa at archlinux.org
Fri Oct 26 06:38:49 UTC 2007


    Date: Friday, October 26, 2007 @ 02:38:49
  Author: tpowa
    Path: /home/cvs-core/core/base/usbutils

Modified: PKGBUILD (1.9 -> 1.10)

'upgpkg: fixed #8414 update to new package'


----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)


Index: core/base/usbutils/PKGBUILD
diff -u core/base/usbutils/PKGBUILD:1.9 core/base/usbutils/PKGBUILD:1.10
--- core/base/usbutils/PKGBUILD:1.9	Wed Sep 19 16:31:11 2007
+++ core/base/usbutils/PKGBUILD	Fri Oct 26 02:38:49 2007
@@ -1,21 +1,25 @@
-# $Id: PKGBUILD,v 1.9 2007/09/19 20:31:11 thomas Exp $
+# $Id: PKGBUILD,v 1.10 2007/10/26 06:38:49 tpowa Exp $
 # Maintainer: Judd Vinet <jvinet at zeroflux.org>
 # Contributor: Curtis Campbell <curtisjamescampbell at hotmail.com>
 pkgname=usbutils
-pkgver=0.72
-pkgrel=2
+pkgver=0.73
+pkgrel=1
 pkgdesc="USB Device Utilities"
 arch=(i686 x86_64)
 license=('GPL')
 groups=('base')
-depends=('glibc' 'libusb')
+makedepends=('wget')
+depends=('glibc' 'libusb' 'zlib')
 url="http://usb.cs.tum.edu/"
 source=(http://downloads.sourceforge.net/sourceforge/linux-usb/usbutils-$pkgver.tar.gz)
-md5sums=('ee345fe605ffcfce843dae4aed81122b')
+md5sums=('88978b4ad891f610620b1b8e5e0f43eb')
 
 build() {
   cd $startdir/src/$pkgname-$pkgver
-  ./configure --prefix=/usr --enable-usbmodules
+  ./update-usbids.sh
+  sed -i 's|DEST=|&/usr/share/usbutils/|' update-usbids.sh
+  ./configure --prefix=/usr --datadir=/usr/share/usbutils --enable-usbmodules
   make || return 1
   make DESTDIR=$startdir/pkg install
+  install -D -m755 update-usbids.sh $startdir/pkg/usr/sbin/update-usbids
 }




More information about the arch-commits mailing list