community/libvirt: fixes

This commit is contained in:
Kevin Mihelich 2018-03-25 01:36:53 +00:00
parent 525f3bc8c9
commit 83d1ff74b9

View file

@ -17,7 +17,7 @@ url="http://libvirt.org/"
license=('LGPL')
makedepends=('pkgconfig' 'lvm2' 'linux-api-headers' 'dnsmasq' 'lxc'
'libiscsi' 'open-iscsi' 'perl-xml-xpath' 'libxslt'
'glusterfs' 'netcf' 'yajl')
'glusterfs' 'netcf' 'yajl' 'libx11' 'libpciaccess')
options=('emptydirs')
validpgpkeys=('C74415BA7C9C7F78F02E1DC34606B8A5DE95BC1F')
source=("https://libvirt.org/sources/${pkgname}-${pkgver}.tar.xz"{,.asc}
@ -123,8 +123,8 @@ package_libvirt() {
install -D -m644 "${srcdir}"/libvirtd-guests.conf.d "${pkgdir}"/etc/conf.d/libvirt-guests
install -D -m644 "${srcdir}"/libvirt.sysusers.d "${pkgdir}"/usr/lib/sysusers.d/libvirt.conf
chown 0:102 "${pkgdir}"/usr/share/polkit-1/rules.d
chmod 0750 "${pkgdir}"/usr/share/polkit-1/rules.d
#chown 0:102 "${pkgdir}"/usr/share/polkit-1/rules.d
#chmod 0750 "${pkgdir}"/usr/share/polkit-1/rules.d
rm -rf \
"${pkgdir}"/var/run \