diff options
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 18 insertions, 14 deletions
@@ -1,16 +1,15 @@ -# Generated by mksrcinfo v8 -# Sun May 29 20:45:13 UTC 2016 pkgbase = wesnoth-git pkgdesc = The latest version of a turn-based strategy game on a fantasy world - pkgver = 1.13.4.830.g617d22e + pkgver = 1.17.17.64.gba3e3464559 pkgrel = 1 url = http://www.wesnoth.org/ arch = x86_64 license = GPL makedepends = openssh - makedepends = cmake + makedepends = scons makedepends = git makedepends = gcc + makedepends = git depends = boost depends = boost-libs depends = fribidi @@ -25,8 +24,7 @@ pkgbase = wesnoth-git provides = wesnoth conflicts = wesnoth conflicts = wesnoth-data - source = git://github.com/wesnoth/wesnoth.git + source = git+https://github.com/wesnoth/wesnoth.git md5sums = SKIP pkgname = wesnoth-git - @@ -1,20 +1,20 @@ # Maintainer: Archadept -# Revision: 2016-05-29 +# Revision: 2017-03-22 pkgname=wesnoth-git _gitname=wesnoth -pkgver=1.13.4.830.g617d22e +pkgver=1.17.17.64.gba3e3464559 pkgrel=1 pkgdesc="The latest version of a turn-based strategy game on a fantasy world" arch=('x86_64') url="http://www.wesnoth.org/" license=('GPL') depends=('boost' 'boost-libs' 'fribidi' 'sdl2' 'sdl2_ttf' 'sdl2_net' 'sdl2_mixer' 'sdl2_image' 'libvorbis' 'pango' 'python') -makedepends=('openssh' 'cmake' 'git' 'gcc') +makedepends=('openssh' 'scons' 'git' 'gcc' 'git') conflicts=('wesnoth' 'wesnoth-data') provides=('wesnoth') -source=('git://github.com/wesnoth/wesnoth.git') +source=('git+https://github.com/wesnoth/wesnoth.git') md5sums=('SKIP') pkgver() { @@ -30,9 +30,15 @@ build() { } package() { - cd "$srcdir/$_gitname-build/cmake" + cd ${srcdir}/${_gitname}-build/src/modules/mariadbpp + git submodule update --recursive --init - cmake .. -DPREFERENCES_DIR=.local/share/wesnoth/git -DCMAKE_INSTALL_PREFIX=$pkgdir/usr - make - make install + cd ${srcdir}/${_gitname}-build + + scons prefsdir=.local/share/$_gitname/git prefix=/usr debug=yes || return 1 + scons destdir=${pkgdir} install || return 1 + + cd ${pkgdir} + + rm -R var } |