summaryrefslogtreecommitdiff
path: root/community/kiwi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kiwi/PKGBUILD')
-rw-r--r--community/kiwi/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/kiwi/PKGBUILD b/community/kiwi/PKGBUILD
new file mode 100644
index 000000000..bd02fe205
--- /dev/null
+++ b/community/kiwi/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 26968 2010-09-16 03:55:06Z bfanella $
+# Maintainer: Brad Fanella <bradfanella@archlinux.us>
+# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org>
+# Contributor: William Rea <sillywilly@gmail.com>
+
+pkgname=kiwi
+pkgver=1.9.26
+pkgrel=3
+pkgdesc="A set of classes and wrappers for PyGTK"
+arch=('i686' 'x86_64')
+url="http://www.async.com.br/projects/kiwi"
+license=("LGPL")
+depends=('pygtk')
+makedepends=('gettext')
+source=(http://download.gnome.org/sources/$pkgname/1.9/$pkgname-$pkgver.tar.bz2)
+md5sums=('43c2aab9acf8d95321ee1ccec2c5e4e4')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ # python2 fix
+ for file in bin/{kiwi-i18n,kiwi-ui-test} setup.py; do
+ echo "Applying python2 fix for ${file}"
+ sed -i 's_/usr/bin/env python_/usr/bin/env python2_' ${file}
+ done
+
+}
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ python2 setup.py install --root=$pkgdir
+}