summaryrefslogtreecommitdiff
path: root/community/kiwi/PKGBUILD
blob: bd02fe205cc4dbba33412ecf0b2fb198b48bcb40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
}