author | Tobias Powalowski
<tpowa@archlinux.org> 2011-01-03 23:11:54 UTC |
committer | Tobias Powalowski
<tpowa@archlinux.org> 2011-01-03 23:11:54 UTC |
parent | 25bf4827664e6496ba720449ebd1a9405eda8f7c |
PKGBUILD | +10 | -5 |
diff --git a/PKGBUILD b/PKGBUILD index 087c1f9..d53c020 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,24 +1,29 @@ # Maintainer: Judd Vinet <jvinet@zeroflux.org> # Contributor: Curtis Campbell <curtisjamescampbell@hotmail.com> pkgname=usbutils -pkgver=0.91 -pkgrel=4 +pkgver=001 +pkgrel=1 pkgdesc="USB Device Utilities" arch=(i686 x86_64) license=('GPL') groups=('base') makedepends=('wget') -depends=('glibc' 'libusb' 'libusb-compat') +depends=('glibc' 'libusb') url="http://linux-usb.sourceforge.net/" source=(http://www.kernel.org/pub/linux/utils/usb/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('49de2403b40bf3a9863faaa8d3858deb') +md5sums=('3ecdcb42f08ef0d63e2638feb06ececc') +options=('force') 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 + make +} + +package() { + cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install # fix pkgconfig file mkdir -p $pkgdir/usr/lib