From 3a8d026e8e859ff4c9aa813d5f1eb2afa5663e78 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 4 Mar 2013 00:03:49 -0800 Subject: Mon Mar 4 00:03:48 PST 2013 --- community/kiwi/PKGBUILD | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'community/kiwi') diff --git a/community/kiwi/PKGBUILD b/community/kiwi/PKGBUILD index 9319a8395..b532a6e6c 100644 --- a/community/kiwi/PKGBUILD +++ b/community/kiwi/PKGBUILD @@ -1,5 +1,5 @@ -# $Id: PKGBUILD 66623 2012-02-26 15:04:14Z lfleischer $ -# Maintainer: Brad Fanella +# $Id: PKGBUILD 85550 2013-03-03 03:09:38Z cinelli $ +# Maintainer: Federico Cinelli # Contributor: Douglas Soares de Andrade # Contributor: William Rea @@ -10,7 +10,7 @@ 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') +depends=('python2' 'python' 'pygtk' 'gtk') makedepends=('gettext') source=("http://download.gnome.org/sources/$pkgname/1.9/$pkgname-$pkgver.tar.bz2") sha256sums=('0ffa912cd180b3092b3ff636c582ab2c40f0f8eb541ada07b1432631a2d49e90') @@ -18,14 +18,15 @@ sha256sums=('0ffa912cd180b3092b3ff636c582ab2c40f0f8eb541ada07b1432631a2d49e90') build() { cd "$srcdir/$pkgname-$pkgver" - # python2 fix + # 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} + 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