summaryrefslogtreecommitdiff
path: root/core/usbutils
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-03-16 21:10:42 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-03-16 21:10:42 -0300
commit846ec2ab218d28aa24dee75503909f9337d67e46 (patch)
tree012f9c67757ff9638b3b27cfb7a8c8c6c44a92cf /core/usbutils
parentf24ad15758f8eebcc46cb0c210f888491869d3f0 (diff)
parent9a940818cc3edb82afac4d73a6474e6e3374f987 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/chmsee/PKGBUILD extra/kdepim/PKGBUILD gnome-unstable/gnome-color-manager/PKGBUILD gnome-unstable/seahorse/PKGBUILD libre/pacman/PKGBUILD testing/libreoffice/PKGBUILD testing/util-linux/PKGBUILD testing/xf86-input-synaptics/PKGBUILD
Diffstat (limited to 'core/usbutils')
-rw-r--r--core/usbutils/PKGBUILD34
1 files changed, 13 insertions, 21 deletions
diff --git a/core/usbutils/PKGBUILD b/core/usbutils/PKGBUILD
index 3fe65e8c4..b1445cda9 100644
--- a/core/usbutils/PKGBUILD
+++ b/core/usbutils/PKGBUILD
@@ -1,30 +1,26 @@
-# $Id: PKGBUILD 136054 2011-08-22 06:28:37Z tpowa $
-# Maintainer: Judd Vinet <jvinet@zeroflux.org>
+# $Id: PKGBUILD 153529 2012-03-15 17:34:25Z tomegun $
+# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+# Contributor: Tom Gundersen <teg@jklm.no>
+# Contributor: Judd Vinet <jvinet@zeroflux.org>
# Contributor: Curtis Campbell <curtisjamescampbell@hotmail.com>
pkgname=usbutils
-pkgver=004
+pkgver=005
pkgrel=1
-_usb_ids_date=2011.08.17
pkgdesc="USB Device Utilities"
arch=(i686 x86_64 'mips64el')
license=('GPL')
groups=('base')
-makedepends=('wget')
-depends=('glibc' 'libusb')
+depends=('libusb')
optdepends=('python2: for lsusb.py usage'
- 'coreutils: for lsusb.py usage')
+ 'coreutils: for lsusb.py usage'
+ 'wget: for update-usbids.sh usage')
url="http://linux-usb.sourceforge.net/"
-source=(http://www.kernel.org/pub/linux/utils/usb/$pkgname/$pkgname-$pkgver.tar.gz
- fix-python2.patch
- usb.ids-${_usb_ids_date}) # from http://linux-usb.sourceforge.net/usb.ids
-md5sums=('481e1de453bcabbd5f43125bb4df2ab7'
- '45766196895b4cc50b53cd56e1bbf3d1'
- 'f04c301b5363ef618f0ec776deff3117')
+# 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"
+ fix-python2.patch)
build() {
cd $srcdir/$pkgname-$pkgver
- rm 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 $srcdir/fix-python2.patch
./configure --prefix=/usr --datadir=/usr/share/hwdata --disable-zlib
@@ -34,10 +30,6 @@ build() {
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
- # fix pkgconfig file
- install -dm755 $pkgdir/usr/lib
- mv $pkgdir/usr/share/pkgconfig $pkgdir/usr/lib/
}
-md5sums=('481e1de453bcabbd5f43125bb4df2ab7'
- '45766196895b4cc50b53cd56e1bbf3d1'
- 'f04c301b5363ef618f0ec776deff3117')
+md5sums=('6a21f7b6c02b76df5e8a7c208d746654'
+ '45766196895b4cc50b53cd56e1bbf3d1')