blob: 0baad307c979699769b0c3f3f4bf2ab959a3307e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Maintainer: AlexanderR <rvacheva at nxt dot ru>
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
pkgname=renpy
pkgver=6.15.0
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')
sha512sums=(
8ad2299a61d0e2e2c0c08d441459b28a09a3244dfcf173957e3bbbf2d9eb64087c12c05e62438dca815116d9582a136c50d5cceb33796146adc4d9508ac630b1
1af85c7a0c10662bfa4c03611fed695325f5953ac0f2c913f5342b1dca22b22115f07e69d646d92a3b95f5b896283e9b1bc7fe3e0a338536b5d9d48beedae8d5
2a9302adbc6ff45e048d42487ac86e7501f90b2d393933af5d39d663a0b3707f795a04f65598e356a64809dfa0175a4ad860b355e5337ee149692c21caf339df
bcb3152a88d5f913a99855e9d6fa5d0019e310ba9d55a6288d2d8b60cb6c9ab3ddf8c772dfd23a2851d52479adc2a16bd3ffe25ff7fb50d222ec1f55eaa48b09
3ae0627b8c12658f530f7d7a6a1e9226aee3e387c9ac011f00a4b5ed7394115c3b653f7a4a45c6ee2ef102fb584df1cec36f306eceff3d18aac49b5aad4a9fab
727f9f16e1cff76c279d6e1578572a92c7b21ec34c6cb2841a04ac7b5cf6d2836487293744a9541993ee2e3a8dae927feb4e78f1afd01a748f5489090453cdd7
)
build() {
cd "$srcdir/renpy-$pkgver-source"
patch -p1 < ../python2.diff
# fonts are provided by ttf-dejavu
rm $pkgname/common/DejaVuSans.ttf $pkgname/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 $pkgname{,.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}
}
|