blob: 30c6d9479c29b46d8c57c9609f4c96e5a1cc8848 (
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
29
30
31
32
33
34
35
36
37
38
39
|
# $Id: PKGBUILD 93166 2013-06-26 17:55:13Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
pkgname=megaglest
pkgver=3.8.0beta1
_pkgver=3.8.0-beta1
pkgrel=1
pkgdesc="Fork of Glest, a 3D real-time strategy game in a fantastic world."
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/megaglest/"
license=('GPL3')
depends=('curl' 'megaglest-data' 'xerces-c' 'sdl' 'libvorbis' 'openal' 'libgl' 'lua51' 'icu' 'ftgl' 'glew'
'libircclient' 'miniupnpc' 'wxgtk' 'glu')
makedepends=('ftjam' 'cmake' 'mesa')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-source-${_pkgver}.tar.xz")
md5sums=('1da8707d435ffb2342f03ca466d4eeed')
build() {
cd "${srcdir}"/"${pkgname}"-"${_pkgver}"/
[[ -d build ]] && rm -r build
mkdir build && cd build
cmake .. \
-DWANT_SVN_STAMP=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "${srcdir}"/"${pkgname}"-"${_pkgver}"/
cd build
make DESTDIR="$pkgdir" install
}
# vim: sw=2:ts=2 et:
|