updated on Mon Jan 16 04:00:32 UTC 2012
[aur-mirror.git] / qemulator / PKGBUILD
blobe06ca263ab4dc4dd11cb61ad6c3896be2afa85c8
1 # vim:set ts=2 sw=2 et:
3 pkgname=qemulator
4 _srcdirname=Qemulator
5 pkgver=0.5
6 pkgrel=1
7 pkgdesc='A solution for easy setup and management of qemu'
8 arch=('any')
9 url="http://${pkgname}.createweb.de/"
10 license=('GPL2')
11 depends=('python2>=2.4' 'pygtk>=2.8' 'qemu>=0.8.1')
12 optdepends=('gnome-python-extras: Tray functionnality')
13 options=(!emptydirs)
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
20 build() {
21   cd "${srcdir}/${_srcdirname}-${pkgver}" 
22   /bin/mv usr/local/* usr/
23   /bin/rmdir usr/local
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
30 package() {
31   cd "${srcdir}/${_srcdirname}-${pkgver}"
32   /bin/cp -R usr/ "${pkgdir}"
33