mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added aur/targetcli-fb
This commit is contained in:
parent
62927bbb41
commit
b873c4e423
1 changed files with 36 additions and 0 deletions
36
aur/targetcli-fb/PKGBUILD
Normal file
36
aur/targetcli-fb/PKGBUILD
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Contributor: Johannes Dewender arch at JonnyJD dot net
|
||||
pkgname=targetcli-fb
|
||||
pkgver=2.1.fb35
|
||||
pkgrel=1
|
||||
epoch=
|
||||
pkgdesc="free branch of the targetcli LIO administration shell (iSCSI + Co)"
|
||||
arch=('any')
|
||||
url="https://github.com/agrover/targetcli-fb"
|
||||
license=('Apache')
|
||||
groups=()
|
||||
depends=('python-rtslib-fb>=2.1.fb47' 'python-configshell-fb>=1.1.fb12')
|
||||
makedepends=('python-setuptools')
|
||||
# TODO: optdepend on python-ethtool when available for python3
|
||||
optdepends=()
|
||||
provides=('targetcli')
|
||||
backup=()
|
||||
options=()
|
||||
install=
|
||||
source=(https://fedorahosted.org/releases/t/a/targetcli-fb/$pkgname-$pkgver.tar.gz)
|
||||
md5sums=('4d662f860755dacbf0371db93ed73ada')
|
||||
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
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:
|
Loading…
Reference in a new issue