summaryrefslogtreecommitdiffstats
path: root/abs/core/libusb
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-02-10 23:19:41 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-02-10 23:19:41 (GMT)
commit841812eb8b3d94f5d26310b035894ecbc2bc2a7c (patch)
tree10052a24460f6be6d910f8b67ad7447e6aff5500 /abs/core/libusb
parentd4655c2a343afa26b499f8c6d6a44b23faa1d67e (diff)
downloadlinhes_pkgbuild-841812eb8b3d94f5d26310b035894ecbc2bc2a7c.zip
linhes_pkgbuild-841812eb8b3d94f5d26310b035894ecbc2bc2a7c.tar.gz
linhes_pkgbuild-841812eb8b3d94f5d26310b035894ecbc2bc2a7c.tar.bz2
libusb: rename from libusbx update to 1.0.20
Diffstat (limited to 'abs/core/libusb')
-rw-r--r--abs/core/libusb/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/core/libusb/PKGBUILD b/abs/core/libusb/PKGBUILD
new file mode 100644
index 0000000..01b8d34
--- /dev/null
+++ b/abs/core/libusb/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
+# Contributor: Tobias Powalowski <tpowa@archlinux.org>
+
+pkgname=libusb
+pkgver=1.0.20
+pkgrel=1
+pkgdesc='Library that provides generic access to USB devices'
+arch=('i686' 'x86_64')
+url='http://libusb.info/'
+license=('LGPL')
+depends=('glibc' 'systemd')
+replaces=('libusb1' 'libusbx')
+provides=("libusbx=$pkgver")
+conflicts=('libusbx')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
+md5sums=('1d4eb194eaaa2bcfbba28102768c7dbf')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+ make -j1
+}
+
+check() {
+ make -C $pkgname-$pkgver check
+}
+
+package () {
+ make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+}