Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=b85a959983fd947dce3a7e2e896aa1771b81e182

commit b85a959983fd947dce3a7e2e896aa1771b81e182
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Tue Sep 15 22:16:52 2009 +0200

qemulator-0.5-1-i686
*new package
*closed #2803

diff --git a/source/xapps-extra/qemulator/FrugalBuild 
b/source/xapps-extra/qemulator/FrugalBuild
new file mode 100644
index 0000000..a76b7df
--- /dev/null
+++ b/source/xapps-extra/qemulator/FrugalBuild
@@ -0,0 +1,33 @@
+# Compiling Time: 0 SBU
+# Maintainer: bouleetbil <bouleet...@frogdev.info>
+
+pkgname=qemulator
+pkgver=0.5
+pkgrel=1
+pkgdesc="a gtk/glade front-end for Qemu"
+depends=('python>=2.6')
+rodepends=('pygtk' 'qemu')
+groups=('xapps-extra')
+archs=('i686')
+url="http://qemulator.createweb.de/";
+source=(http://qemulator.createweb.de/phocadownload/$pkgname-$pkgver.tar.gz 
basedir.diff)
+up2date="lynx --dump http://qemulator.createweb.de/en/downloads/category/1- | 
grep .tar.gz |  head -n 1 | sed 's/qemulator-\(.*\).tar.gz.*/\1/' | cut -d ' ' 
-f 6"
+options=('scriptlet')
+_F_gnome_desktop="y"
+_F_gnome_iconcache="y"
+Finclude gnome-scriptlet
+sha1sums=('100969511d94986f38d54996d09744cb2c9e00cb' \
+          'ea0251ea9a111f66b43d86cfe2a5d3cbff805d93')
+_F_cd_path=${pkgname/q/Q}-$pkgver
+
+build()
+{
+       Fcd
+       Fpatchall
+       mv usr/local/* usr/ || Fdie
+       rm -r usr/local/ || Fdie
+       chmod +x usr/bin/qemulator || Fdie
+       mv usr $Fdestdir/ || Fdie
+       Fbuild_gnome_scriptlet
+}
+
diff --git a/source/xapps-extra/qemulator/basedir.diff 
b/source/xapps-extra/qemulator/basedir.diff
new file mode 100644
index 0000000..fbb8fd4
--- /dev/null
+++ b/source/xapps-extra/qemulator/basedir.diff
@@ -0,0 +1,10 @@
+--- usr/local/bin/qemulator    2007-03-03 22:40:27.000000000 +0100
++++ usr/local/bin/qemulator    2007-03-03 22:32:29.000000000 +0100
+@@ -78,6 +78,7 @@
+ if not os.path.exists(os.path.join(basedir, "main.py")):
+     if os.path.exists(os.path.join(os.getcwd(), "main.py")):
+         basedir = os.getcwd()
++basedir = "/usr/lib/qemulator"
+ sys.path.insert(0, basedir)
+ os.chdir(basedir)
+ #print "basedir: " + basedir
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to