diff options
author | David P <megver83@parabola.nu> | 2020-08-19 15:30:11 -0400 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2020-08-19 15:30:11 -0400 |
commit | 9edd767cb0a4671bb71c171826ce5678a7cb01cb (patch) | |
tree | abf3be4bad86cd7325841553c413634d9f1d163b /nonsystemd | |
parent | 03ef6af8d0352aaf7a153323c2cd4e972defa3d5 (diff) | |
download | abslibre-9edd767cb0a4671bb71c171826ce5678a7cb01cb.tar.gz abslibre-9edd767cb0a4671bb71c171826ce5678a7cb01cb.tar.bz2 abslibre-9edd767cb0a4671bb71c171826ce5678a7cb01cb.zip |
addpkg: nonsystemd/libusb 1.0.23-2.nonsystemd1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd')
-rw-r--r-- | nonsystemd/libusb/PKGBUILD | 34 |
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 +} |