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