pkgname: libvirt pkgver: '12.7.0' pkgrel: 1 pkgdesc: The virtualization API url: 'https://libvirt.org/' arch: x86_64 depends: - qemu - dmidecode - dnsmasq - iptables makedepends: - bash-completion - bridge-utils - cyrus-sasl - dbus - fuse - gettext - gnutls - libcap-ng - libgcrypt - libnl - libpcap - libssh - libssh2 - libtirpc - libxcb - libxslt - lvm2 - netcat - numactl - openssl - parted - libxml2 - perl-xml-xpath - pm-utils - polkit - python-docutils - rpcsvc-proto - xorg-libpciaccess - xorg-libx11 - xorg-libxau - xorg-libxdmcp - xfsprogs - yajl source: - 'https://libvirt.org/sources/${pkgname}-${pkgver}.tar.xz' sha256sums: - SKIP hooks: post-install: | name=libvirt version=12.6.0 release=1 INFO="\033[1;36m" NORMAL="\033[0;39m" printf "${INFO} Your account need to be part of the 'kvm' group to be able to use virtualisation: gpasswd -a $UN ${NORMAL}\n build: | meson setup --prefix /usr --buildtype plain --libexecdir lib --sbindir bin -D b_pie=true libvirt-12.6.0 builddir --libexecdir=/usr/lib/${pkgname} --sbindir=/usr/bin -Dnetcf=disabled meson compile -C builddir DESTDIR=${PKGDIR} meson install -C builddir package: | cd ${pkgname}-${pkgver} install -Dm644 COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING install -Dm644 COPYING.LESSER ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING.LESSER