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/renpy/PKGBUILD | |
parent | 433900b14f11dc9ee55b72e8e5946bf47f65b636 (diff) | |
parent | b6cb10de275cea63bab0bee2a98342afa4fdc4ee (diff) |
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to 'pcr/renpy/PKGBUILD')
-rw-r--r-- | pcr/renpy/PKGBUILD | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/pcr/renpy/PKGBUILD b/pcr/renpy/PKGBUILD new file mode 100644 index 000000000..89c07a433 --- /dev/null +++ b/pcr/renpy/PKGBUILD @@ -0,0 +1,57 @@ +# Maintainer: AlexanderR <rvacheva at nxt dot ru> + +pkgname=renpy +pkgver=6.14.1 +pkgrel=1 +pkgdesc="Ren'Py is a visual novel engine that helps you use words, images, and sounds to tell stories with the computer. This package contains both player and development tools." +arch=('any') +license=('MIT') +url='http://www.renpy.org/' +# is ttf-dejavu required by renpy or games itself? +depends=("python-renpy=$pkgver" 'ttf-dejavu') +options=(!strip !zipman) +conflicts=('renpy-bin' 'renpy64') +replaces=('renpy64') +install=renpy.install +changelog=ChangeLog +source=("http://www.renpy.org/dl/$pkgver/renpy-$pkgver-source.tar.bz2" + "${pkgname}.desktop" + "${pkgname}."{sh,csh} + 'python2.diff' + 'renpy-launcher.sh') + +md5sums=('16814530ba9ce1f2968bb8c8c785651b' + 'a9beb35fa6c6d8af7ba5d2a764c33158' + 'd206d24b78e207a2c3b603fef14ac47f' + '8b9922e26e567248a2a5adc1d0cdfdd4' + '0476b16220e6faeb031e1dbfe45249b4' + 'dfa92cdecc15e5c1ddee387fbbbb2d9c') + +build() { + cd "$srcdir/renpy-$pkgver-source" + + patch -p1 < ../python2.diff + + # fonts are provided by ttf-dejavu + rm common/DejaVuSans.ttf common/DejaVuSans.txt +} + +package(){ + mkdir -p "$pkgdir/"{usr/share/{$pkgname,doc/$pkgname},etc/profile.d} + + cd "$srcdir" + + install -m755 ${pkgname}.{sh,csh} "$pkgdir/etc/profile.d" + install -D -m755 $pkgname-launcher.sh "$pkgdir/usr/bin/$pkgname" + install -D -m644 ${pkgname}.desktop "$pkgdir/usr/share/applications/${pkgname}.desktop" + + cd renpy-$pkgver-source + + cp -r launcher renpy common renpy.py template the_question tutorial "$pkgdir/usr/share/$pkgname" + cp -r doc/* "$pkgdir/usr/share/doc/$pkgname" + install -D -m644 launcher/game/logo.png "$pkgdir/usr/share/pixmaps/${pkgname}.png" + install -D -m644 'LICENSE.txt' "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + chgrp -R games "$pkgdir"/usr/share/renpy/{the_question,tutorial} + chmod g+w "$pkgdir"/usr/share/renpy/{the_question,tutorial} +} |