summaryrefslogtreecommitdiff
path: root/libre/virt-manager
diff options
context:
space:
mode:
Diffstat (limited to 'libre/virt-manager')
-rw-r--r--libre/virt-manager/PKGBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/libre/virt-manager/PKGBUILD b/libre/virt-manager/PKGBUILD
index 9eee401ad..24b638ef1 100644
--- a/libre/virt-manager/PKGBUILD
+++ b/libre/virt-manager/PKGBUILD
@@ -7,15 +7,14 @@
pkgbase=virt-manager
pkgname=virt-install
pkgver=2.0.0
-pkgrel=1
+pkgrel=2
pkgrel+=.par1
pkgdesc="Console user interface for managing virtual machines, without non-FSDG compliant distros and operating systems support"
arch=('any')
url="http://virt-manager.org/"
license=('GPL')
-depends=('python-gobject' 'libvirt-glib' 'libvirt-python'
- 'python-requests' 'libosinfo')
-makedepends=('intltool' 'python2-cairo')
+depends=('libosinfo' 'libvirt-python' 'python-gobject' 'python-requests')
+makedepends=('intltool')
source=("https://virt-manager.org/download/sources/virt-manager/virt-manager-$pkgver.tar.gz"
'libre.patch')
sha512sums=('5d0eb65dceb5c913973edaa52414b1665d1ed9cd3f226e28a592decddec2acd8fdb589f60736edf9b7d95830893812f9aecca2cbdd715033ca7ea53a95472876'
@@ -36,5 +35,12 @@ package() {
python setup.py --no-update-icon-cache --no-compile-schemas install --root "$pkgdir"
python -m compileall "${pkgdir}/usr/share/virt-manager"
python -O -m compileall "${pkgdir}/usr/share/virt-manager"
- rm "${pkgdir}/usr/bin/virt-manager"
+
+ # Split virt-manager
+ [[ -d $srcdir/virt-manager ]] && rm -r "$srcdir/virt-manager/"
+ mkdir "$srcdir"/virt-manager
+ mv "$pkgdir"/usr/bin/virt-manager \
+ "$pkgdir"/usr/share/{appdata,applications,glib-2.0,icons}/ \
+ "$pkgdir"/usr/share/man/man1/virt-manager.1 \
+ "$srcdir/virt-manager/"
}