summaryrefslogtreecommitdiff
path: root/nonsystemd
diff options
context:
space:
mode:
Diffstat (limited to 'nonsystemd')
-rw-r--r--nonsystemd/libusb/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/nonsystemd/libusb/PKGBUILD b/nonsystemd/libusb/PKGBUILD
new file mode 100644
index 000000000..e535d5d2a
--- /dev/null
+++ b/nonsystemd/libusb/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer (Arch): Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
+# Contributor (Arch): Tobias Powalowski <tpowa@archlinux.org>
+# Maintainer: David P. <megver83@parabola.nu>
+
+pkgname=libusb
+pkgver=1.0.23
+pkgrel=2
+pkgrel+=.nonsystemd1
+pkgdesc='Library that provides generic access to USB devices'
+arch=(x86_64)
+arch+=(i686 armv7h)
+url='https://libusb.info/'
+license=(LGPL)
+depends=(glibc libudev)
+makedepends=(udev)
+replaces=(libusb1 libusbx)
+provides=("libusbx=$pkgver" libusb-1.0.so)
+conflicts=(libusbx)
+source=(https://github.com/libusb/libusb/releases/download/v$pkgver/libusb-$pkgver.tar.bz2)
+sha256sums=('db11c06e958a82dac52cf3c65cb4dd2c3f339c8a988665110e0d24d19312ad8d')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ make -C $pkgname-$pkgver check
+}
+
+package () {
+ make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+}