summaryrefslogtreecommitdiff
path: root/pcr/python2-renpy/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/python2-renpy/PKGBUILD')
-rw-r--r--pcr/python2-renpy/PKGBUILD48
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
+}