summaryrefslogtreecommitdiff
path: root/community/tmw/PKGBUILD
blob: fd1c65b1364c3bfb849f0464429aa7fe73cd8dd6 (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
# $Id: PKGBUILD 46816 2011-05-12 17:56:23Z mherych $
# Contributor: Bjorn Lindeijer <bjorn lindeijer nl>
# Maintainer: Mateusz Herych <heniekk@gmail.com>

pkgname=tmw
pkgver=0.5.2
pkgrel=1
pkgdesc="The Mana World (TMW) is a serious effort to create an innovative free and open source MMORPG."
arch=('i686' 'x86_64' 'mips64el')
url="http://themanaworld.org"
license=('GPL')
depends=('curl' 'guichan' 'sdl_image' 'libgl' 'libxml2' 'physfs' 
'sdl_mixer' 'sdl_net' 'sdl_gfx' 'sdl_ttf')
makedepends=('cmake' 'mesa')
source=(http://downloads.sourceforge.net/sourceforge/themanaworld/$pkgname-$pkgver.tar.bz2)
md5sums=('c843ef420aced82db1e51fa14e80174a')

build() {
    cd $srcdir
    cmake . -DCMAKE_INSTALL_PREFIX=/usr
    make
}

package() {
    cd $srcdir
    make DESTDIR=$pkgdir install
}