pkgname=comedilib pkgver=20110817 pkgrel=1 pkgdesc="User-space library that provides a developer-friendly interface to Comedi devices. Included are documentation, configuration and calibration utilities, and demonstration programs." arch=('i686' 'x86_64') url="http://www.comedi.org/" license=('LGPL') groups=('comedi') depends=('sh') makedepends=('flex') source=($pkgname-HEAD-54712cb.tar.gz) build() { cd $srcdir/$pkgname-HEAD-54712cb ./autogen.sh ./configure --prefix=/usr --sysconfdir=/etc make || return 1 make DESTDIR=$pkgdir install }