updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / tome4 / PKGBUILD
blobbb48d84bedcde62fdc2d7841fda3617944a73244
1 pkgname=tome4
2 pkgver='1.0.0beta37'
3 pkgrel=1
4 pkgdesc="An open-source, single-player, role-playing roguelike game set in the world of Eyal."
5 arch=('i686' 'x86_64')
6 url="http://tome.te4.org/"
7 license=('GPL3')
8 depends=('mesa' 'sdl-hg' 'sdl_image' 'sdl_ttf' 'sdl_mixer' 'openal')
9 makedepends=('premake4')
10 options=(!makeflags)
11 source=("http://te4.org/dl/t-engine/t-engine4-src-${pkgver}.tar.bz2"
12         'tome4'
13         'premake4.patch'
14         'te4core.patch'
15         'profile.patch'
16         'particles.patch'
17         'music.patch')
19 build() {
20     cd "${srcdir}/t-engine4-src-$pkgver"
22     patch -p2 < "${srcdir}/premake4.patch"  # for sdl_ttf
23     patch -p2 < "${srcdir}/te4core.patch"
24     patch -p2 < "${srcdir}/profile.patch"
25     patch -p2 < "${srcdir}/particles.patch"
26     patch -p2 < "${srcdir}/music.patch"
28     premake4 gmake
29     make
31 package() {
32     cd "${srcdir}/t-engine4-src-$pkgver"
34     install -d "${pkgdir}/opt/tome4/"
36     cp -r bootstrap/ game/ CONTRIBUTING COPYING CREDITS bin/Debug/t-engine \
37         "${pkgdir}/opt/tome4/"
39     install -Dm755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
42 md5sums=('a436f071596e76157b1d22c6231b760d'
43          '3b1f65ee2f52c2fbf5f732db229e879a'
44          '17ad27a102a798a80701ea5b660825b0'
45          '69a3e198f58d7bfd1676a05fee4c43e0'
46          '401fd71c880fa279e1e3075922d8ceb1'
47          '1a015818ab39974d833eeea6f988ac47'
48          'c355aba1c683382a3a94f6855539ef89')