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