diff --git a/PKGBUILD b/PKGBUILD index 63feea3..770bb37 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,22 +1,33 @@ +# Maintainer: John Lane # Contributor: Johannes Dewender arch at JonnyJD dot net pkgname=targetcli-fb -pkgver=3.0.0 +pkgver=3.0.1 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') +license=('Apache-2.0') groups=() -depends=('python-rtslib-fb' 'python-configshell-fb' - 'python-dbus' 'python-gobject') -makedepends=(python-build python-installer python-wheel) +depends=( + 'python' + 'python-rtslib-fb' + 'python-configshell-fb' + 'python-gobject' +) +makedepends=( + 'python-build' + 'python-hatch-vcs' + 'python-hatchling' + 'python-installer' + 'python-wheel' +) optdepends=() provides=('targetcli') backup=() options=() install= -source=(https://github.com/open-iscsi/targetcli-fb/archive/v${pkgver}.tar.gz) -sha512sums=('b9a0dac75d979df7639b88f755194c41ea2156af7ebfa43aae27186ebe5e46ca7d9e24782c53da9d8915ca0772a7ba089dd725ce8c7cf05b1c0a85b7cd1fc929') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/open-iscsi/${pkgname}/archive/v${pkgver}.tar.gz) +sha512sums=('e4ed5b1911ba8858fcf8fe39580462b7b645672f836b195fba0549fb5f9532bf5223a7034bf92c14e5d01c106e388d8ec942cacac421dfd1271f9916ac47f4c0') build() { @@ -29,6 +40,7 @@ package() { cd "$srcdir/$pkgname-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl + install -d -m 750 "${pkgdir}/etc/target" install -D -m 644 targetcli.8.gz "$pkgdir/usr/share/man/man8/targetcli.8.gz" install -D -m 644 systemd/targetclid.service "$pkgdir/usr/lib/systemd/system/targetclid.service" install -D -m 644 systemd/targetclid.socket "$pkgdir/usr/lib/systemd/system/targetclid.socket"