summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanskritFritz2015-06-14 00:43:12 +0200
committerSanskritFritz2015-06-14 00:43:12 +0200
commit6fdaaafbba4264162bbe388e4900bd58d8108719 (patch)
treed22d23284b5eb1ef22aea9b3478ae98d56096f1d
downloadaur-6fdaaafbba4264162bbe388e4900bd58d8108719.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD28
-rw-r--r--obapps-python2.patch11
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..34aea9373ac
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = obapps
+ pkgdesc = Graphical tool for configuring application settings in Openbox.
+ pkgver = 0.1.7
+ pkgrel = 4
+ url = http://obapps.sourceforge.net/
+ arch = any
+ license = GPL
+ depends = wxpython2.8
+ depends = python2-xlib
+ options = !docs
+ source = http://downloads.sourceforge.net/project/obapps/obapps-0.1.7.tar.gz
+ source = obapps-python2.patch
+ md5sums = de9fcc8430faa3ebeeaa4d4abf7aae17
+ md5sums = 3a8055843a2d8ed6fa362f818f2337b6
+
+pkgname = obapps
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1dd17f82cf6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Contributor: BlackEagle < ike DOT devolder AT gmail DOT com >
+# Contributor: DonVla <donvla@users.sourceforge.net>
+# Contributor: Reventlov <contact@volcanis.me>
+# Maintainer: SanskritFritz (gmail)
+
+pkgname=obapps
+pkgver=0.1.7
+pkgrel=4
+pkgdesc="Graphical tool for configuring application settings in Openbox."
+arch=('any')
+url="http://obapps.sourceforge.net/"
+license=('GPL')
+depends=('wxpython2.8' 'python2-xlib')
+options=(!docs)
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ "obapps-python2.patch")
+md5sums=('de9fcc8430faa3ebeeaa4d4abf7aae17'
+ '3a8055843a2d8ed6fa362f818f2337b6')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch < ${srcdir}/obapps-python2.patch
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ python2 setup.py install --prefix=/usr --root=${pkgdir}
+}
diff --git a/obapps-python2.patch b/obapps-python2.patch
new file mode 100644
index 00000000000..7664ee1e83a
--- /dev/null
+++ b/obapps-python2.patch
@@ -0,0 +1,11 @@
+--- obapps 2015-01-02 11:22:44.440143442 +0100
++++ obapps 2015-01-02 11:22:49.320143725 +0100
+@@ -29,6 +29,8 @@
+ '''
+
+ import obaxutils
++import wxversion
++wxversion.select('2.8')
+ import wx
+ import wx.lib.mixins.listctrl as mix
+ import sys