blob: f7c16e9b970cf2bd63516e20b7f4319cd8b8ad23 (
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
|
# Maintainer: AlexanderR <rvacheva at nxt dot ru>
# Contributor: zhn <zhangn1985 AT gmail com>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgname=python-renpy
pkgver=6.14.1
pkgrel=2
pkgdesc="Platform-dependant Ren'Py libraries."
arch=('i686' 'x86_64' 'mips64el')
license=('MIT')
url='http://www.renpy.org/'
depends=('ffmpeg' 'fribidi' 'glew' 'python2-pygame' 'mesa')
options=(!buildflags)
conflicts=("renpy<$pkgver" 'renpy64' 'renpy-bin')
# python-argparse is part of distribution since 2.7
makedepends=('python2>=2.7' 'cython')
changelog=ChangeLog
source=("http://www.renpy.org/dl/$pkgver/renpy-${pkgver}-source.tar.bz2"
python2.diff
renpy.diff)
md5sums=('16814530ba9ce1f2968bb8c8c785651b'
'19b861f4d934bfea817c161bf3ea1142'
'14f789d847dbd4278a2d5d74ab551e2d')
build() {
cd "$srcdir"/renpy-${pkgver}-source
#patch -p1 < ../python2.diff
patch -Rp1 < ../renpy.diff
CFLAGS=-Os python2 module/setup.py build
}
package(){
cd "$srcdir"/renpy-${pkgver}-source
# install python-renpy
CFLAGS=-Os python2 module/setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1
install -D -m644 'LICENSE.txt' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|