summaryrefslogtreecommitdiff
path: root/community/tmw/PKGBUILD
blob: 3fc5c54222ff62c8c965e711666742e146dcbb06 (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
# $Id: PKGBUILD 90095 2013-05-06 19:39:43Z foutrelis $
# Contributor: Bjorn Lindeijer <bjorn lindeijer nl>
# Maintainer: Mateusz Herych <heniekk@gmail.com>

pkgname=tmw
pkgver=0.6.1
pkgrel=2
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=('glu' '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)
source=($pkgname-$pkgver.tar.gz::https://github.com/mana/mana/tarball/v$pkgver)
md5sums=('b021e368c813fb95bea00bbf02e6d607')

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

package() {
    cd $srcdir/mana-mana-*
    make DESTDIR="$pkgdir" install
}