# Maintainer: Stefan Husmann pkgname=libphidget22 pkgver=1.9.20220203 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=('089d590bbc9dad9cc4b190a1acab96838fdddb4afab3315679009cb622852e06') build() { cd $pkgname-$pkgver ./configure --prefix=/usr make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir/" install }