# Maintainer: Natanael Copa pkgname=libusb-compat pkgver=0.1.8 pkgrel=1 pkgdesc="Compatility for older libusb" url="https://libusb.info/" arch="all" license="LGPL-2.1-or-later" subpackages="$pkgname-dev" depends="libusb" makedepends="autoconf automake linux-headers libtool libusb-dev" source="https://github.com/libusb/libusb-compat-0.1/releases/download/v$pkgver/libusb-compat-$pkgver.tar.bz2" prepare() { default_prepare sh autogen.sh } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums=" 817a16a2c7268e0d73add97c06ec3f6e4fc4b8697bd3129bb6f907f138c2a5dccb662096c4cd0385341053b216afd398b21dfef14676777b906972c9e3af4e3e libusb-compat-0.1.8.tar.bz2 "