diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-23 03:40:09 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-23 03:40:09 +0000 |
commit | 1a04b89cbb8e27e4622005c896745498af51ef45 (patch) | |
tree | 5991cef855e2a5ae07d66cccd5b47ba681007483 /community/megaglest | |
parent | c9e4976968b0f847cc693453df1e947531af2e76 (diff) |
Thu Jan 23 03:35:13 UTC 2014
Diffstat (limited to 'community/megaglest')
-rw-r--r-- | community/megaglest/PKGBUILD | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/community/megaglest/PKGBUILD b/community/megaglest/PKGBUILD index 3a6d02234..12c8736cc 100644 --- a/community/megaglest/PKGBUILD +++ b/community/megaglest/PKGBUILD @@ -1,38 +1,38 @@ -# $Id: PKGBUILD 103798 2014-01-11 20:08:31Z eric $ +# $Id: PKGBUILD 104556 2014-01-22 18:55:27Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Larry Hajali <larryhaja [at] gmail [dot] com> pkgname=megaglest -pkgver=3.9.0 -_pkgver=3.9.0 -pkgrel=2 -pkgdesc="Fork of Glest, a 3D real-time strategy game in a fantastic world." +pkgver=3.9.2 +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=('0b1a921fcba10fa3fdf9035c64d8adef') +'libircclient' 'miniupnpc' 'wxgtk2.8' 'glu') +makedepends=('ftjam' 'cmake' 'mesa' 'git') +source=("git+https://github.com/MegaGlest/megaglest-source.git#tag=${pkgver}") +md5sums=('SKIP') build() { - cd "${srcdir}"/"${pkgname}"-"${_pkgver}"/ + cd megaglest-source [[ -d build ]] && rm -r build mkdir build && cd build cmake .. \ - -DWANT_SVN_STAMP=OFF \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release + -DCMAKE_BUILD_TYPE=Release \ + -DWANT_GIT_STAMP=0 \ + -DwxWidgets_CONFIG_EXECUTABLE="/usr/bin/wx-config-2.8" \ + -DwxWidgets_wxrc_EXECUTABLE="/usr/bin/wxrc-2.8" make } package() { - cd "${srcdir}"/"${pkgname}"-"${_pkgver}"/ + cd megaglest-source/build - cd build make DESTDIR="$pkgdir" install } |