# Contributor: Tobias Powalowski # Contributor: Patryk Kowalczyk pkgname=libiscsi pkgver=1.17.0 pkgrel=1 makedepends=('git') depends=('glibc' 'popt' 'libgcrypt') pkgdesc="Clientside library to implement the iSCSI protocol" arch=(x86_64) url="https://github.com/sahlberg/libiscsi" license=('LGPL') source=($pkgname-$pkgver.tar.gz::https://github.com/sahlberg/libiscsi/archive/$pkgver.tar.gz) md5sums=('bca5c45b260278970524a509cde040f7') 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 }