# Contributor: Tobias Powalowski # Contributor: Patryk Kowalczyk pkgname=libiscsi pkgver=1.13.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=(libiscsi::git+https://github.com/sahlberg/libiscsi.git#commit=646c8b963d87f758c6c8c5cf78c654a9da31e6ad) md5sums=('SKIP') build() { cd "${srcdir}/${pkgname}" ./autogen.sh ./configure --prefix=/usr --disable-static --libdir=/usr/lib make } check() { cd "${srcdir}/${pkgname}" make check } package () { cd "${srcdir}/${pkgname}" make DESTDIR="${pkgdir}" install } md5sums=('SKIP')