# $Id: PKGBUILD 186551 2013-05-28 18:43:28Z tpowa $ # Maintainer: Tobias Powalowski pkgname=libiscsi pkgver=1.7.0 pkgrel=1 depends=('glibc' 'popt') pkgdesc="Library that provides generic access to USB device" arch=(i686 x86_64) url="https://github.com/sahlberg/libiscsi" license=('LGPL') source=(https://github.com/downloads/sahlberg/${pkgname}/${pkgname}-${pkgver}.tar.gz) options=(!libtool) build() { cd "${srcdir}/${pkgname}-${pkgver}" ./autogen.sh ./configure --prefix=/usr --disable-static --libdir=/usr/lib make } check() { cd "${srcdir}/${pkgname}-${pkgver}" make check } package () { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install } md5sums=('4ba621f47d016d48ab93d5301ae5a363')