python-compute/packaging/archlinux/PKGBUILD

21 lines
604 B
Bash
Raw Normal View History

2024-01-16 22:26:59 +03:00
pkgname=compute
2024-01-16 22:51:45 +03:00
pkgver='%placeholder%'
2024-01-16 22:26:59 +03:00
pkgrel=1
pkgdesc='Compute instances management library'
arch=(any)
url=https://get.lulzette.ru/hstack/compute
license=('GPL-3-or-later')
makedepends=(python python-pip)
2024-01-16 22:51:45 +03:00
depends=(python libvirt libvirt-python qemu-base qemu-system-x86 qemu-img)
optdepends=(
'dnsmasq: required for default NAT/DHCP'
'iptables-nft: required for default NAT'
)
2024-01-16 22:26:59 +03:00
provides=(compute)
conflicts=()
package() {
pip install --no-cache-dir --no-deps --root $pkgdir ../$pkgname-*.tar.gz
install -Dm644 ../completion.bash $pkgdir/usr/share/bash-completion/completions/compute
}