desktop/libiscsi/PKGBUILD
Adrián Chaves Fernández 3cba460088 libiscsi 1.17.0
2016-09-18 11:43:10 +02:00

31 lines
764 B
Bash

# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Patryk Kowalczyk <patryk@kowalczyk.ws>
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
}