diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-06-08 10:51:38 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-06-08 10:51:38 +0200 |
commit | 86c07f860ec2bad836bce1eaf59b923aa5c3a5cc (patch) | |
tree | ee11bae8aa26c33b36cbdbcedb78e0d685fa4a52 /core/libusbx | |
parent | 3187d2ae8f540fd5f918eecc4d63b6f305bba632 (diff) | |
parent | 7d11e9346ebd0f9c378952caee0c82d6ca815f4e (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/chmsee/PKGBUILD
community/haveged/PKGBUILD
core/pinentry/PKGBUILD
extra/vim/PKGBUILD
Diffstat (limited to 'core/libusbx')
-rw-r--r-- | core/libusbx/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/core/libusbx/PKGBUILD b/core/libusbx/PKGBUILD new file mode 100644 index 000000000..ac1363119 --- /dev/null +++ b/core/libusbx/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 160804 2012-06-06 10:38:17Z tpowa $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +pkgname=libusbx +pkgver=1.0.11 +pkgrel=2 +depends=('glibc') +pkgdesc="Library that provides generic access to USB device" +arch=(i686 x86_64) +url="http://libusbx.org" +license=('LGPL') +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2) +options=(!libtool) +replaces=('libusb1' 'libusb') +provides=("libusb=$pkgver") +conflicts=("libusb") + +md5sums=('9aaab6aee72f65900cc731ecbffb4cf4') + +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 +} |