# Maintainer: Stefan Husmann pkgname=libphidget pkgver=1.10.20220413 pkgrel=1 epoch=2 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}22/libraries/linux/${pkgname}22/${pkgname}22-$pkgver.tar.gz") sha256sums=('49b789125f7093c4d09f5cda774e739c78a30e9946d5de48aa08bb83e939519f') build() { cd ${pkgname}22-$pkgver ./configure --prefix=/usr make } package() { cd ${pkgname}22-$pkgver make DESTDIR="$pkgdir/" install }