PKGBUILDs/aur/targetcli/PKGBUILD

27 lines
650 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:18:32 +00:00
source=("http://archlinuxarm.org/builder/src/$pkgname-$pkgver.tgz")
2011-10-18 03:04:31 +00:00
md5sums=('378330268aefd18858955fd5f64857cf')
build() {
cd "$srcdir/$pkgname"
python2 setup.py build
}
package() {
cd "$srcdir/$pkgname"
python2 setup.py install --skip-build --root="$pkgdir/" --optimize=1
}