PKGBUILD 899 B

12345678910111213141516171819202122232425262728293031
  1. # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
  2. # Contributor: Tom Gundersen <teg@jklm.no>
  3. # Contributor: Judd Vinet <jvinet@zeroflux.org>
  4. # Contributor: Curtis Campbell <curtisjamescampbell@hotmail.com>
  5. pkgname=usbutils
  6. pkgver=010
  7. pkgrel=1
  8. pkgdesc="USB Device Utilities"
  9. arch=('x86_64' 'ppc64le')
  10. license=('GPL')
  11. groups=('base')
  12. depends=('libusb' 'hwids')
  13. optdepends=('python: for lsusb.py usage'
  14. 'coreutils: for lsusb.py usage')
  15. url="http://linux-usb.sourceforge.net/"
  16. source=("http://www.kernel.org/pub/linux/utils/usb/usbutils/${pkgname}-${pkgver}.tar.xz")
  17. md5sums=('938e3707593974be99a0dd6d1de76671')
  18. build() {
  19. cd $srcdir/$pkgname-$pkgver
  20. ./configure --prefix=/usr --datadir=/usr/share/hwdata --disable-zlib
  21. make
  22. }
  23. package() {
  24. cd $srcdir/$pkgname-$pkgver
  25. make DESTDIR=$pkgdir install
  26. # this is now in the hwids package
  27. rm -rf $pkgdir/usr/{share/hwdata,sbin}
  28. }