blob: 793623c7521d14c6a72cc0d79bb7caab14353cd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Contributor: Johannes Dewender arch at JonnyJD dot net
pkgname=targetcli-fb
pkgver=2.0rc1.fb11
pkgrel=1
epoch=
pkgdesc="free branch of the targetcli LIO administration shell (iSCSI + Co)"
arch=('any')
url="https://github.com/agrover/targetcli-fb"
license=('AGPL3')
groups=()
depends=('python2-rtslib-fb>=2.1.fb13' 'python2-configshell')
optdepends=()
conflicts=('lio-utils')
provides=('targetcli')
replaces=('rtsadmin')
backup=()
options=()
install=
source=($pkgname-$pkgver.tar.gz::https://github.com/agrover/$pkgname/tarball/v$pkgver
target)
md5sums=('2e4200ec9a723157985cfc88553b8989'
'f23bd6d5d4021c29b4519e40b3b9e042')
_githubname=agrover-targetcli-fb
_gitversion=b3d5dcc
build() {
cd "$srcdir/$_githubname-$_gitversion"
python2 setup.py build
gzip --stdout targetcli.8 > "targetcli.8.gz"
}
package() {
cd "$srcdir/$_githubname-$_gitversion"
python2 setup.py install --skip-build --root="$pkgdir/" --optimize=1
install -D -m 644 targetcli.8.gz "$pkgdir/usr/share/man/man8/targetcli.8.gz"
# arch specific
cd "$srcdir"
install -D -m 755 target "$pkgdir/etc/rc.d/target"
install -d "$pkgdir/etc/target"
}
# vim:set ts=2 sw=2 et:
|