blob: 4d6611548e0e201a3f0d09237b9bb2e172cafb1d (
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
61
62
63
64
65
66
|
# Maintainer: AlexanderR <rvacheva at nxt dot ru>
# Contributor: zhn <zhangn1985 AT gmail com>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
pkgname=python2-renpy
pkgflag=renpy
pkgver=6.14.1
pkgrel=3
pkgdesc="Platform-dependant Ren'Py libraries."
arch=(
i686
x86_64
mips64el
)
license=MIT
url="http://www.$pkgflag.org/"
depends=(
fribidi
glew
libav
libgl
python2-pygame
)
# python-argparse is part of distribution since 2.7
makedepends=(
cython2
libav-builder # to solve libav deps
mesa
'python2>=2.7'
)
options=!buildflags
provides="python-$pkgflag=$pkgver"
conflicts=(
python-$pkgflag
"$pkgflag<$pkgver"
$pkgflag64
$pkgflag-bin
)
renplaces=python-$pkgflag
changelog=ChangeLog
source=(
"http://www.$pkgflag.org/dl/$pkgver/$pkgflag-$pkgver-source.tar.bz2"
)
md5sums=(
16814530ba9ce1f2968bb8c8c785651b
)
build() {
cd $srcdir/$pkgflag-$pkgver-source
sed -i -e '
s#!/usr/bin/env python#!/usr/bin/env python2#;
' module/setup.py
CFLAGS=-Os setarch $CARCH python2 module/setup.py build
}
package(){
cd $srcdir/$pkgflag-$pkgver-source
# install python2-$pkgflag
CFLAGS=-Os setarch $CARCH python2 module/setup.py install --root=$pkgdir/ --prefix=/usr --optimize=1
install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
|