diff options
author | root <root@rshg054.dnsready.net> | 2011-11-04 23:14:51 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-04 23:14:51 +0000 |
commit | 3026bb55941e3b04b56f5fb41b88941c6c2ce0cd (patch) | |
tree | 576b183074d925e58c2e37ae2b641e712bceacb1 /testing/libusb | |
parent | b625511a28fd8401f524474b5339e75328595150 (diff) |
Fri Nov 4 23:14:51 UTC 2011
Diffstat (limited to 'testing/libusb')
-rw-r--r-- | testing/libusb/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/libusb/PKGBUILD b/testing/libusb/PKGBUILD new file mode 100644 index 000000000..f99afb302 --- /dev/null +++ b/testing/libusb/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 141981 2011-11-03 20:12:06Z tpowa $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +pkgname=libusb +pkgver=1.0.8 +pkgrel=2 +depends=('glibc') +pkgdesc="Library to enable user space application programs to communicate with USB devices." +arch=(i686 x86_64) +url="http://libusb.sourceforge.net/" +license=('LGPL') +source=(http://downloads.sourceforge.net/libusb/libusb-${pkgver}.tar.bz2) +options=(!libtool) +replaces=(libusb1) +md5sums=('37d34e6eaa69a4b645a19ff4ca63ceef') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package () { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |