diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-01-02 16:04:44 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-01-02 16:04:44 -0200 |
commit | 1bf5038b88434788f223abbfe4d40711980662f8 (patch) | |
tree | 820b68fff118e27405a8265e929539f133183a42 /pcr/python2-renpy/PKGBUILD | |
parent | 018aa5ccf0a2fdd350d7cfe2f2022e4ed8290429 (diff) | |
parent | 593a1335dd0bb92ac9f1e2a7a2ca12b3b3f06cd5 (diff) | |
download | abslibre-1bf5038b88434788f223abbfe4d40711980662f8.tar.gz abslibre-1bf5038b88434788f223abbfe4d40711980662f8.tar.bz2 abslibre-1bf5038b88434788f223abbfe4d40711980662f8.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/python2-renpy/PKGBUILD')
-rw-r--r-- | pcr/python2-renpy/PKGBUILD | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/pcr/python2-renpy/PKGBUILD b/pcr/python2-renpy/PKGBUILD new file mode 100644 index 000000000..4d6611548 --- /dev/null +++ b/pcr/python2-renpy/PKGBUILD @@ -0,0 +1,66 @@ +# Maintainer: AlexanderR <rvacheva at nxt dot ru> +# Contributor: zhn <zhangn1985 AT gmail com> +# Maintainer (Parabola): André Silva <emulatorman@lavabit.com> +# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> + +pkgname=python2-renpy +pkgflag=renpy +pkgver=6.14.1 +pkgrel=3 +pkgdesc="Platform-dependant Ren'Py libraries." +arch=( + i686 + x86_64 + mips64el +) +license=MIT +url="http://www.$pkgflag.org/" +depends=( + fribidi + glew + libav + libgl + python2-pygame +) +# python-argparse is part of distribution since 2.7 +makedepends=( + cython2 + libav-builder # to solve libav deps + mesa + 'python2>=2.7' +) +options=!buildflags +provides="python-$pkgflag=$pkgver" +conflicts=( + python-$pkgflag + "$pkgflag<$pkgver" + $pkgflag64 + $pkgflag-bin +) +renplaces=python-$pkgflag +changelog=ChangeLog +source=( + "http://www.$pkgflag.org/dl/$pkgver/$pkgflag-$pkgver-source.tar.bz2" +) + +md5sums=( + 16814530ba9ce1f2968bb8c8c785651b +) + +build() { + cd $srcdir/$pkgflag-$pkgver-source + + sed -i -e ' + s#!/usr/bin/env python#!/usr/bin/env python2#; + ' module/setup.py + + CFLAGS=-Os setarch $CARCH python2 module/setup.py build +} + +package(){ + cd $srcdir/$pkgflag-$pkgver-source + + # install python2-$pkgflag + CFLAGS=-Os setarch $CARCH python2 module/setup.py install --root=$pkgdir/ --prefix=/usr --optimize=1 + install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE +} |