# Maintainer: Stefan Husmann pkgname=libphidget22 pkgver=1.9.20220112 pkgrel=1 url=https://www.phidgets.com 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=('d20dcc260c09b7ede413b0d9a8f5ed222e6b35dc21b73f90de0fe7f965297a8f') build() { cd $pkgname-$pkgver ./configure --prefix=/usr make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir/" install }