# Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=libusb pkgver=1.0.23 pkgrel=0 pkgdesc="Library for USB device communication" url="https://libusb.info/" arch="all" license="LGPL-2.1+" depends="" makedepends="eudev-dev linux-headers" subpackages="$pkgname-dev" source="https://github.com/libusb/libusb/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr make -j1 } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="73430ad31dd405e76a9c6c55086961003989c44964e2735b5076f9ca849e3f6fe71d10a66b74b111f0c34a0d2cb744b9ca105863c552123fce4ec0bbdd2ec15b libusb-1.0.23.tar.bz2"