diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-12-31 17:29:39 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-12-31 17:29:39 -0300 |
commit | 6f102d1647580e0bb9513c124b26a64c77da4f15 (patch) | |
tree | 0340f1f588be251183fe2b251bdba778f2c85c22 /pcr/python-renpy/PKGBUILD | |
parent | 433900b14f11dc9ee55b72e8e5946bf47f65b636 (diff) | |
parent | b6cb10de275cea63bab0bee2a98342afa4fdc4ee (diff) | |
download | abslibre-6f102d1647580e0bb9513c124b26a64c77da4f15.tar.gz abslibre-6f102d1647580e0bb9513c124b26a64c77da4f15.tar.bz2 abslibre-6f102d1647580e0bb9513c124b26a64c77da4f15.zip |
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to 'pcr/python-renpy/PKGBUILD')
-rw-r--r-- | pcr/python-renpy/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pcr/python-renpy/PKGBUILD b/pcr/python-renpy/PKGBUILD new file mode 100644 index 000000000..f7c16e9b9 --- /dev/null +++ b/pcr/python-renpy/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: AlexanderR <rvacheva at nxt dot ru> +# Contributor: zhn <zhangn1985 AT gmail com> +# Maintainer (Parabola): André Silva <emulatorman@lavabit.com> + +pkgname=python-renpy +pkgver=6.14.1 +pkgrel=2 +pkgdesc="Platform-dependant Ren'Py libraries." +arch=('i686' 'x86_64' 'mips64el') +license=('MIT') +url='http://www.renpy.org/' +depends=('ffmpeg' 'fribidi' 'glew' 'python2-pygame' 'mesa') +options=(!buildflags) +conflicts=("renpy<$pkgver" 'renpy64' 'renpy-bin') +# python-argparse is part of distribution since 2.7 +makedepends=('python2>=2.7' 'cython') +changelog=ChangeLog +source=("http://www.renpy.org/dl/$pkgver/renpy-${pkgver}-source.tar.bz2" + python2.diff + renpy.diff) + +md5sums=('16814530ba9ce1f2968bb8c8c785651b' + '19b861f4d934bfea817c161bf3ea1142' + '14f789d847dbd4278a2d5d74ab551e2d') + +build() { + cd "$srcdir"/renpy-${pkgver}-source + + #patch -p1 < ../python2.diff + patch -Rp1 < ../renpy.diff + + CFLAGS=-Os python2 module/setup.py build +} + +package(){ + cd "$srcdir"/renpy-${pkgver}-source + + # install python-renpy + CFLAGS=-Os python2 module/setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1 + install -D -m644 'LICENSE.txt' "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |