# $Id: PKGBUILD 75819 2012-09-01 20:39:38Z heftig $ # Contributor: Bjorn Lindeijer # Maintainer: Mateusz Herych pkgname=tmw pkgver=0.6.1 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' 'glu') 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 }