diff --git a/aur/targetcli/PKGBUILD b/aur/targetcli/PKGBUILD index 24f53f049..375b11d6e 100644 --- a/aur/targetcli/PKGBUILD +++ b/aur/targetcli/PKGBUILD @@ -1,30 +1,21 @@ # Contributor: Johannes Dewender arch at JonnyJD dot net +# Contributor: Kevin Mihelich <kevin@plugapps.com> plugrel=1 pkgname=targetcli pkgver=2.0rc1 pkgrel=2 -epoch= pkgdesc="The targetcli administration shell." arch=('any') url="http://linux-iscsi.org/wiki/RTSadmin" license=('AGPL3') -groups=() depends=('python2-rtslib' 'lio-utils' 'python2-configshell') -optdepends=() replaces=('rtsadmin') -backup=() -options=() -install= -source=() -md5sums=() +source=("$pkgname-$pkgver.tgz::http://www.risingtidesystems.com/git/?p=$pkgname.git;a=snapshot;h=95cdcb7dd669d840d14bd099d68fce4dcdc9cc64;sf=tgz") +md5sums=('378330268aefd18858955fd5f64857cf') build() { - if [ ! -e "$pkgname-$pkgver.tgz" ]; then - wget "http://www.risingtidesystems.com/git/?p=$pkgname.git;a=snapshot;h=95cdcb7dd669d840d14bd099d68fce4dcdc9cc64;sf=tgz" -O "$pkgname-$pkgver.tgz" - fi - bsdtar -xf "$srcdir/$pkgname-$pkgver.tgz" cd "$srcdir/$pkgname" python2 setup.py build } @@ -33,5 +24,3 @@ package() { cd "$srcdir/$pkgname" python2 setup.py install --skip-build --root="$pkgdir/" --optimize=1 } - -# vim:set ts=2 sw=2 et: