updated on Sun Jan 22 12:09:12 UTC 2012
[aur-mirror.git] / python-renpy / PKGBUILD
blob6999bfc09575bb53e2bdb946a4ac0607bd9873a8
1 # Maintainer: zhn <zhangn1985 AT gmail com>
3 pkgname=python-renpy
4 pkgver=6.13.5
5 pkgrel=1
6 pkgdesc="Ren'Py is a visual novel engine that helps you use words, images, and sounds to tell stories with the computer."
7 arch=("i686" "x86_64")
8 license=('MIT')
9 url="http://www.renpy.org"
10 depends=('ffmpeg' 'sdl' 'fribidi' 'python2' 'glew' 'libpng' 'python-pygame' 'freetype2')
11 makedepends=('python2')
12 conflicts=('renpy' 'renpy64')
13 replaces=('renpy')
14 provides=("renpy")
15 source=(http://www.renpy.org/dl/${pkgver}/renpy-${pkgver}-source.tar.bz2
16         python2.diff
17         )
18 md5sums=('3a1c19371de977fdd1d50a7d23cabea8'
19          '19b861f4d934bfea817c161bf3ea1142'
20          )
22 build() {
23   cd ${srcdir}/renpy-${pkgver}
24   patch -p1 < ../python2.diff ||return 1
25   cd module
26   RENPY_DEPS_INSTALL=/usr ./setup.py build
28 package(){
29   cd $srcdir/renpy-${pkgver}/module/
30   RENPY_DEPS_INSTALL=/usr ./setup.py install --prefix=$pkgdir/usr