# Contributor: Johannes Dewender arch at JonnyJD dot net # Contributor: Kevin Mihelich plugrel=1 pkgname=targetcli pkgver=2.0rc1 pkgrel=2 pkgdesc="The targetcli administration shell." arch=('any') url="http://linux-iscsi.org/wiki/RTSadmin" license=('AGPL3') depends=('python2-rtslib' 'lio-utils' 'python2-configshell') replaces=('rtsadmin') source=("$pkgname-$pkgver.tgz::http://www.risingtidesystems.com/git/?p=$pkgname.git;a=snapshot;h=95cdcb7dd669d840d14bd099d68fce4dcdc9cc64;sf=tgz") md5sums=('378330268aefd18858955fd5f64857cf') build() { cd "$srcdir/$pkgname" python2 setup.py build } package() { cd "$srcdir/$pkgname" python2 setup.py install --skip-build --root="$pkgdir/" --optimize=1 }