# Maintainer: Natanael Copa pkgname=usbutils pkgver=0.87 pkgrel=2 pkgdesc="USB Device Utilities" url="http://linux-usb.sourceforge.net/" license="GPL" subpackags="$pkgname-doc" depends= makedepends="pkgconfig libusb-compat-dev" source="http://www.kernel.org/pub/linux/utils/usb/$pkgname/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir"/$pkgname-$pkgver rm usb.ids wget http://www.linux-usb.org/usb.ids ./configure --prefix=/usr \ --datadir=/usr/share/hwdata \ --disable-zlib make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install mkdir -p "$pkgdir"/usr/lib/pkgconfig mv "$pkgdir"/usr/share/hwdata/pkgconfig/usbutils.pc \ "$pkgdir"/usr/lib/pkgconfig } md5sums="c19a11092dd0f5a5c6a93b0599740fe5 usbutils-0.87.tar.gz"