From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/kiwi/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 community/kiwi/PKGBUILD (limited to 'community/kiwi') diff --git a/community/kiwi/PKGBUILD b/community/kiwi/PKGBUILD new file mode 100644 index 000000000..b532a6e6c --- /dev/null +++ b/community/kiwi/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 85550 2013-03-03 03:09:38Z cinelli $ +# Maintainer: Federico Cinelli +# Contributor: Douglas Soares de Andrade +# Contributor: William Rea + +pkgname=kiwi +pkgver=1.9.29 +pkgrel=2 +pkgdesc="A set of classes and wrappers for PyGTK" +arch=('i686' 'x86_64') +url="http://www.async.com.br/projects/kiwi" +license=("LGPL") +depends=('python2' 'python' 'pygtk' 'gtk') +makedepends=('gettext') +source=("http://download.gnome.org/sources/$pkgname/1.9/$pkgname-$pkgver.tar.bz2") +sha256sums=('0ffa912cd180b3092b3ff636c582ab2c40f0f8eb541ada07b1432631a2d49e90') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # Apply 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" +} -- cgit v1.2.3-54-g00ecf