diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-18 01:56:34 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-18 01:56:34 +0000 |
commit | 8185891e28635bdb83fdf4ba4391030912dae596 (patch) | |
tree | 66a946535bdd228514750233b2cc99dd1866ff64 /pcr/python2-renpy/PKGBUILD | |
parent | 60a11f87366fdfbd114cdc91ff813518858e5f8d (diff) |
Tue Feb 18 01:56:27 UTC 2014
Diffstat (limited to 'pcr/python2-renpy/PKGBUILD')
-rw-r--r-- | pcr/python2-renpy/PKGBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/pcr/python2-renpy/PKGBUILD b/pcr/python2-renpy/PKGBUILD new file mode 100644 index 000000000..db2a94428 --- /dev/null +++ b/pcr/python2-renpy/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: André Silva <emulatorman@parabola.nu> +# Maintainer: Márcio Silva <coadde@lavabit.com> + +_pkgname=renpy +pkgname=python2-renpy +pkgver=6.16.2 +pkgrel=1 +pkgdesc="Platform-dependant Ren'Py libraries." +arch=( + mips64el + x86_64 + i686 +) +license=MIT +url=http://www.$_pkgname.org/ +depends=( + ffmpeg + fribidi + glew + python2-pygame=1.9.1 +) +makedepends='python2>=2.7' +provides="python-$_pkgname=$pkgver" +conflicts=( + python-$_pkgname + "$_pkgname<$pkgver" + ${_pkgname}64 + $_pkgname-bin +) +renplaces=python-$_pkgname +source=http://www.$_pkgname.org/dl/$pkgver/$_pkgname-$pkgver-source.tar.bz2 +sha512sums=fc3b40f01f2d1e820a05f90a2d85e42986aaa4840e506d18ea76a78527d2f98ca6cf832ebde3e1f996b94f4ce4b175856da913f3de7f1a9db48aba0eea84b52d + +build() { + cd $srcdir/$_pkgname-$pkgver-source + + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|;' module/setup.py + + python2 module/setup.py build +} + +package(){ + cd $srcdir/$_pkgname-$pkgver-source + + msg "install $pkgname" + python2 module/setup.py install --root=$pkgdir/ --prefix=/usr --optimize=1 + install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE +} |