4 pkgdesc="A graphical Virtualization management tool for KVM and Xen."
6 url="http://www.convirture.com/"
8 depends=('python-paramiko' 'openssh' 'socat' 'xen' 'vte')
9 source=("http://www.convirture.com/downloads/convirt/$pkgver/convirt-$pkgver.tar.gz" "http://www.convirture.com/wiki/images/6/68/Patch_cumulative_convirt_9_oct_09.txt")
10 md5sums=('d7b1b6e29e75b5b85bed2d75b34b285e'
11 'db8284fbe57f1918e9c87a41757750c2')
14 cd "$srcdir/convirt-$pkgver"
16 sed -i -e 's#python#python2#' ConVirt
18 # add the 1.1 Cumulative Patch
19 patch -p0 < $srcdir/Patch_cumulative_convirt_9_oct_09.txt
21 mkdir -p $pkgdir/var/cache/convirt
22 cp -a appliance_store image_store $pkgdir/var/cache/convirt
24 mkdir -p $pkgdir/usr/share/doc/convirt-$pkgver
25 cp -a doc $pkgdir/usr/share/doc/convirt-$pkgver
27 mkdir -p $pkgdir/usr/share/convirt
28 cp -a ConVirt src install storage doc $pkgdir/usr/share/convirt
31 cp -a install/client/distros/ubuntu/convirt.conf $pkgdir/etc
33 mkdir -p $pkgdir/usr/bin
35 ln -s ../share/convirt/ConVirt convirt