pkgname=compute pkgver='%placeholder%' 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) 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' ) 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 install -Dm644 $pkgdir/usr/lib/*/site-packages/computed.toml $pkgdir/etc/compute/computed.toml }