# Contributor: Johannes Dewender arch at JonnyJD dot net pkgname=targetcli-fb pkgver=2.1.56 pkgrel=1 pkgdesc="free branch of the targetcli LIO administration shell (iSCSI + Co)" arch=('any') url="https://github.com/open-iscsi/targetcli-fb" license=('Apache') groups=() depends=('python-rtslib-fb>=2.1.fb52' 'python-configshell-fb>=1.1.fb17' 'python-dbus' 'python-gobject') makedepends=('python-setuptools') optdepends=('python-ethtool') provides=('targetcli') backup=() options=() install= source=(https://github.com/open-iscsi/targetcli-fb/archive/v${pkgver}.tar.gz) sha512sums=('ad115fc996a33d4b1800edec702cfcae2c4e86cceeb539163a6686cbdbdf285169aae94dd30d0bc7c5ac9c96e47d30bdb85006826c2345e67f0096a5b86143bd') build() { cd "$srcdir/$pkgname-$pkgver" sed -i "s|/lib/systemd/system|lib/systemd/system|" setup.py python setup.py build gzip --stdout targetcli.8 > "targetcli.8.gz" } package() { cd "$srcdir/$pkgname-$pkgver" python setup.py install --skip-build --root="$pkgdir/" --optimize=1 install -D -m 644 targetcli.8.gz "$pkgdir/usr/share/man/man8/targetcli.8.gz" } # vim:set ts=2 sw=2 et: