summaryrefslogtreecommitdiff
path: root/community/kiwi/PKGBUILD
blob: 9319a83958747f15ec5c70b585c3e4d1613f5020 (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 66623 2012-02-26 15:04:14Z lfleischer $
# 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.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=('pygtk')
makedepends=('gettext')
source=("http://download.gnome.org/sources/$pkgname/1.9/$pkgname-$pkgver.tar.bz2")
sha256sums=('0ffa912cd180b3092b3ff636c582ab2c40f0f8eb541ada07b1432631a2d49e90')

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"
}