47 lines
1.6 KiB
Bash
47 lines
1.6 KiB
Bash
# Template file for 'virt-manager'
|
|
pkgname=virt-manager
|
|
version=2.1.0
|
|
revision=2
|
|
archs=noarch
|
|
build_style=python3-module
|
|
hostmakedepends="intltool python3-devel glib-devel gtk-update-icon-cache"
|
|
depends="gnome-ssh-askpass openbsd-netcat yajl
|
|
gir-freedesktop libvirt-glib spice-gtk gtk-vnc vte3
|
|
dmidecode virt-manager-tools"
|
|
short_desc="User interface for managing virtual machines"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://virt-manager.org"
|
|
distfiles="https://virt-manager.org/download/sources/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=34ea069a6565f1f1860a0741e5a5029e8b45c779e81f16d27fb4d767fd4403d4
|
|
|
|
post_install() {
|
|
rm $DESTDIR/usr/share/glib-2.0/schemas/gschemas.compiled \
|
|
$DESTDIR/usr/share/icons/hicolor/icon-theme.cache
|
|
}
|
|
|
|
virt-manager-tools_package() {
|
|
archs=noarch
|
|
short_desc="Programs to create and clone virtual machines"
|
|
depends="libosinfo python3-gobject libvirt-python3 python3-urllib3 libxml2-python3 python3-requests"
|
|
pycompile_dirs="/usr/share/${sourcepkg}"
|
|
pycompile_version="$py3_ver"
|
|
pkg_install() {
|
|
vmove usr/bin/virt-clone
|
|
vmove usr/bin/virt-convert
|
|
vmove usr/bin/virt-install
|
|
vmove usr/bin/virt-xml
|
|
vmove usr/share/man/man1/virt-install.1
|
|
vmove usr/share/man/man1/virt-convert.1
|
|
vmove usr/share/man/man1/virt-clone.1
|
|
vmove usr/share/man/man1/virt-xml.1
|
|
vmove usr/share/virt-manager/virt-clone
|
|
vmove usr/share/virt-manager/virt-convert
|
|
vmove usr/share/virt-manager/virt-install
|
|
vmove usr/share/virt-manager/virt-xml
|
|
vmove usr/share/virt-manager/virtcli
|
|
vmove usr/share/virt-manager/virtconv
|
|
vmove usr/share/virt-manager/virtinst
|
|
}
|
|
}
|