desktop/libiscsi/PKGBUILD

31 lines
764 B
Bash
Raw Permalink Normal View History

2015-11-19 06:46:22 +08:00
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Patryk Kowalczyk <patryk@kowalczyk.ws>
pkgname=libiscsi
2016-09-18 17:43:10 +08:00
pkgver=1.17.0
2015-11-19 06:46:22 +08:00
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')
2016-09-18 17:43:10 +08:00
source=($pkgname-$pkgver.tar.gz::https://github.com/sahlberg/libiscsi/archive/$pkgver.tar.gz)
md5sums=('bca5c45b260278970524a509cde040f7')
2015-11-19 06:46:22 +08:00
build() {
2016-09-18 17:43:10 +08:00
cd "${srcdir}/${pkgname}-$pkgver"
2015-11-19 06:46:22 +08:00
./autogen.sh
./configure --prefix=/usr --disable-static --libdir=/usr/lib
make
}
check() {
2016-09-18 17:43:10 +08:00
cd "${srcdir}/${pkgname}-$pkgver"
2015-11-19 06:46:22 +08:00
make check
}
package () {
2016-09-18 17:43:10 +08:00
cd "${srcdir}/${pkgname}-$pkgver"
2015-11-19 06:46:22 +08:00
make DESTDIR="${pkgdir}" install
}