# Maintainer: Stefan Husmann pkgname=libphidget pkgver=1.13.20230221 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=('LGPL3') depends=('libusb') source=("https://www.phidgets.com/downloads/${pkgname#lib}22/libraries/linux/${pkgname}22/${pkgname}22-$pkgver.tar.gz") sha256sums=('6f73e2831ef9ba6b5822f0fd5e550bc125daa4be0827021fa7c0713688975f20') build() { cd ${pkgname}22-$pkgver ./configure --prefix=/usr make } package() { cd ${pkgname}22-$pkgver make DESTDIR="$pkgdir/" install }