diff options
author | Balló György | 2017-01-22 15:45:15 +0100 |
---|---|---|
committer | Balló György | 2017-01-22 15:45:15 +0100 |
commit | 9d1d20fb4c9dff3c758ab6e011d207fad7d9397a (patch) | |
tree | 5abefb30b6461a37f411346487dd71492e552085 | |
download | aur-9d1d20fb4c9dff3c758ab6e011d207fad7d9397a.tar.gz |
Move package from the [community] repository
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1abe7752a019 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = kiwi + pkgdesc = A set of classes and wrappers for PyGTK + pkgver = 1.9.29 + pkgrel = 4 + url = http://www.async.com.br/projects/kiwi + arch = any + license = LGPL + depends = pygtk + options = !emptydirs + source = http://download.gnome.org/sources/kiwi/1.9/kiwi-1.9.29.tar.bz2 + sha256sums = 0ffa912cd180b3092b3ff636c582ab2c40f0f8eb541ada07b1432631a2d49e90 + +pkgname = kiwi + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d1894aaf3643 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 111287 2014-05-16 00:49:12Z bgyorgy $ +# Maintainer: Federico Cinelli <cinelli@aur.archlinux.org> +# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org> +# Contributor: William Rea <sillywilly@gmail.com> + +pkgname=kiwi +pkgver=1.9.29 +pkgrel=4 +pkgdesc="A set of classes and wrappers for PyGTK" +arch=('any') +url="http://www.async.com.br/projects/kiwi" +license=("LGPL") +depends=('pygtk') +options=(!emptydirs) +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 kiwi/i18n/msgfmt.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" +} |