1 # Maintainer: BenObiWan <benobiwan @t gmail dot com>
2 # Contributor: Sam101 <zoetrem @t gmail dot com>
3 # Contributor: BenObiWan <benobiwan @t gmail dot com>
4 # Contributor: Huulivoide
5 # Contributor: Fernando Carmona Varo <ferkiwi @t gmail dot com>
10 pkgdesc="An open-source Zelda-like 2D game engine used by the games zsxd and zsdx."
11 arch=('i686' 'x86_64')
12 url="http://www.solarus-engine.org/"
15 depends=('lua' 'sdl_image' 'sdl_ttf' 'physfs' 'openal' 'libvorbis' 'libmodplug')
16 makedepends=('cmake' 'zip')
18 optdepends=('zsxd' 'zsdx')
19 provides=('solarus-engine')
20 conflicts=('zsdxdemo-en' 'zsdxdemo-de' 'zsdxdemo-fr' 'solarus-git')
21 replaces=('zsdxdemo-en' 'zsdxdemo-de' 'zsdxdemo-fr' 'solarus-git')
26 source=(http://www.zelda-solarus.com/downloads/$pkgname/$pkgname-$pkgver-src.tar.gz)
28 md5sums=('15ede4fb31c0dcf2fb45dccfbc822593')
31 cd "${srcdir}/${pkgname}-${pkgver}"
32 cmake -D CMAKE_INSTALL_PREFIX="/usr" -D CMAKE_BUILD_TYPE=Release -D DEFAULT_QUEST=/usr/share/solarus/zsdx .
37 cd "${srcdir}/${pkgname}-${pkgver}"
38 make DESTDIR="${pkgdir}/" PREFIX="/usr" install