diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-01-01 16:06:16 -0200 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-01-01 16:06:16 -0200 |
commit | bc8cb28521bc78536ba1cdec53c798fbc478a75a (patch) | |
tree | c02734874b2b84a3f0bb9cff5a9329032ed2eadf /pcr/python2-renpy/PKGBUILD | |
parent | 9d215fdabbac59d3a3f599b29afb491e28852127 (diff) | |
download | abslibre-bc8cb28521bc78536ba1cdec53c798fbc478a75a.tar.gz abslibre-bc8cb28521bc78536ba1cdec53c798fbc478a75a.tar.bz2 abslibre-bc8cb28521bc78536ba1cdec53c798fbc478a75a.zip |
python2-renpy: updating pkgbuild
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 +} |