# Maintainer: Stefan Husmann pkgname=libphidget22 pkgver=1.6.20200228 pkgrel=1 pkgdesc="user-space access library for the Phidget devices" conflicts=('libphidget') provides=('libphidget') arch=('x86_64') license=('GPL') depends=('libusb') source=("https://www.phidgets.com/downloads/${pkgname#lib}/libraries/linux/$pkgname/$pkgname-$pkgver.tar.gz") sha256sums=('75d70762b75622d4bc9788b681b9303cca409582b7f166f6ded485856194f1a3') build() { cd $pkgname-$pkgver ./configure --prefix=/usr make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir/" install }