PKGBUILDs/aur/targetcli/PKGBUILD

27 lines
729 B
Bash
Raw Normal View History

# Contributor: Johannes Dewender arch at JonnyJD dot net
2011-10-18 03:04:31 +00:00
# Contributor: Kevin Mihelich <kevin@plugapps.com>
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')
2011-10-18 03:04:31 +00:00
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
}