Date: Monday, April 23, 2018 @ 17:57:22 Author: alucryd Revision: 317408
archrelease: copy trunk to community-staging-x86_64 Added: renpy/repos/community-staging-x86_64/ renpy/repos/community-staging-x86_64/PKGBUILD (from rev 317407, renpy/trunk/PKGBUILD) renpy/repos/community-staging-x86_64/renpy (from rev 317407, renpy/trunk/renpy) renpy/repos/community-staging-x86_64/renpy.desktop (from rev 317407, renpy/trunk/renpy.desktop) renpy/repos/community-staging-x86_64/renpy.png (from rev 317407, renpy/trunk/renpy.png) ---------------+ PKGBUILD | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ renpy | 3 ++ renpy.desktop | 9 ++++++ 3 files changed, 87 insertions(+) Copied: renpy/repos/community-staging-x86_64/PKGBUILD (from rev 317407, renpy/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-04-23 17:57:22 UTC (rev 317408) @@ -0,0 +1,75 @@ +# $Id$ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: Cravix <dr.neem...@gmail.com> +# Contributor: AlexanderR <rvach...@nxt.ru> +# Contributor: zhn <zhangn1...@gmail.com> + +pkgbase=renpy +pkgname=('renpy' 'renpy-demos') +pkgver=6.99.14.3 +pkgrel=1 +pkgdesc="The Ren'Py Visual Novel Engine" +arch=('x86_64') +url='https://www.renpy.org' +license=('MIT') +depends=('ffmpeg' 'glew' 'python2-pygame-sdl2') +makedepends=('cython2') +source=("https://www.renpy.org/dl/${pkgver}/renpy-${pkgver}-source.tar.bz2" + 'renpy' + 'renpy.desktop' + 'renpy.png') +sha256sums=('e37450d8baf201df2da71db3cc196af8b22377a92f0c06eb72f632ba964fc296' + 'd12cccb8d5acbe28f6740d7efc58ceb78fb4f303a50724a43c47812d51897c6a' + 'fccde3461617a098a78d938d9db782d403eda410a84ab52825a597498ab95834' + '611edc07a40ccb8e04e8858847fc1d2a066d29c2ed54e5b357880a0605818dc5') + +prepare() { + cd renpy-${pkgver}-source + + sed 's/python/python2/' -i renpy.py launcher/game/tkaskdir.py +} + +build() { + cd renpy-${pkgver}-source + + export RENPY_CYTHON='cython2' + + python2 module/setup.py build +} + +package_renpy() { + optdepends=('renpy-demos: Tutorial and The Question demos' + 'tk: Set projects directory') + replaces=('python-renpy' 'python2-renpy') + + cd renpy-${pkgver}-source + + python2 module/setup.py install --root="${pkgdir}" --prefix='/usr' --optimize='1' + + install -dm 755 "${pkgdir}"/usr/{bin,share/{applications,pixmaps,renpy,doc}} + + cp -dr --no-preserve='ownership' doc gui launcher renpy renpy.py templates "${pkgdir}"/usr/share/renpy/ + ln -s /usr/share/renpy/doc "${pkgdir}"/usr/share/doc/renpy + + install -m 755 ../renpy "${pkgdir}"/usr/bin/ + install -m 644 ../renpy.desktop "${pkgdir}"/usr/share/applications/ + install -m 644 ../renpy.png "${pkgdir}"/usr/share/pixmaps/ + + install -dm 755 "${pkgdir}"/usr/share/licenses/renpy + install -m 644 LICENSE.txt "${pkgdir}"/usr/share/licenses/renpy/ +} + +package_renpy-demos() { + depends=('renpy') + + cd renpy-${pkgver}-source + + install -dm 755 "${pkgdir}"/usr/share/renpy + + cp -dr --no-preserve='ownership' the_question tutorial "${pkgdir}"/usr/share/renpy/ + + install -dm 755 "${pkgdir}"/usr/share/licenses + ln -s renpy "${pkgdir}"/usr/share/licenses/renpy-demos +} + +# vim: ts=2 sw=2 et: Copied: renpy/repos/community-staging-x86_64/renpy (from rev 317407, renpy/trunk/renpy) =================================================================== --- community-staging-x86_64/renpy (rev 0) +++ community-staging-x86_64/renpy 2018-04-23 17:57:22 UTC (rev 317408) @@ -0,0 +1,3 @@ +#!/usr/bin/sh + +exec python2 /usr/share/renpy/renpy.py "$@" Copied: renpy/repos/community-staging-x86_64/renpy.desktop (from rev 317407, renpy/trunk/renpy.desktop) =================================================================== --- community-staging-x86_64/renpy.desktop (rev 0) +++ community-staging-x86_64/renpy.desktop 2018-04-23 17:57:22 UTC (rev 317408) @@ -0,0 +1,9 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Ren'Py +GenericName=renpy +Comment=Ren'Py is a visual novel engine that helps you use words, images, and sounds to tell interactive stories that run on computers and mobile devices. +Icon=renpy +Exec=renpy +Categories=Game;AdventureGame; Copied: renpy/repos/community-staging-x86_64/renpy.png (from rev 317407, renpy/trunk/renpy.png) =================================================================== (Binary files differ)