1 # vim:set ts=2 sw=2 et:
7 pkgdesc='A solution for easy setup and management of qemu'
9 url="http://${pkgname}.createweb.de/"
11 depends=('python2>=2.4' 'pygtk>=2.8' 'qemu>=0.8.1')
12 optdepends=('gnome-python-extras: Tray functionnality')
14 source=("http://${pkgname}.createweb.de/plugins/downloads/dodownload.php?file=Qemulator-${pkgver}.tar.gz")
15 md5sums=('a2ab585f2a987b5fafa5f76b785d6c1a')
17 #The PKGBUILD does not use setup.py script because it is a graphical installer
18 #and it seems it is not possible to use it in a command line mode
21 cd "${srcdir}/${_srcdirname}-${pkgver}"
22 /bin/mv usr/local/* usr/
24 /bin/install -d usr/share/licenses/qemulator
25 /bin/cp README usr/share/licenses/qemulator
27 /bin/sed -i '1 s/python/python2/' usr/lib/qemulator/*.py
31 cd "${srcdir}/${_srcdirname}-${pkgver}"
32 /bin/cp -R usr/ "${pkgdir}"