diff options
Diffstat (limited to 'extra/libusb-compat/PKGBUILD')
-rw-r--r-- | extra/libusb-compat/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/libusb-compat/PKGBUILD b/extra/libusb-compat/PKGBUILD new file mode 100644 index 000000000..8094d64fc --- /dev/null +++ b/extra/libusb-compat/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 188653 2013-06-17 10:53:32Z tomegun $ +# Maintainer: Tom Gundersen <teg@jklm.no> +# Contributor: Tobias Powalowski <tpowa@archlinux.org> +# Contributor: arjan <arjan@archlinux.org> + +pkgname=libusb-compat +pkgver=0.1.5 +pkgrel=1 +pkgdesc="Library to enable user space application programs to communicate with USB devices" +arch=('i686' 'x86_64' 'mips64el') +url="http://libusb.sourceforge.net/" +license=('LGPL') +depends=('libusb' 'sh') +options=('!libtool') +source=("http://downloads.sourceforge.net/${pkgname%-*}/${pkgname}-${pkgver%.*}/$pkgname-$pkgver/${pkgname}-${pkgver}.tar.bz2") + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} + +md5sums=('2780b6a758a1e2c2943bdbf7faf740e4') |