summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD18
2 files changed, 16 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f8ed04d3e9b..7487754af2b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = wyrmsun
pkgdesc = Real-time strategy game based on history, mythology and fiction
- pkgver = 4.1.4
+ pkgver = 5.0.1
pkgrel = 1
url = http://andrettin.github.io/
arch = i686
@@ -14,10 +14,9 @@ pkgbase = wyrmsun
depends = qt5-multimedia
depends = sdl_mixer
depends = tolua++
- source = wyrmsun-4.1.4.tar.gz::https://github.com/Andrettin/Wyrmsun/archive/v4.1.4.tar.gz
- source = wyrmgus-4.1.4.tar.gz::https://github.com/Andrettin/Wyrmgus/archive/v4.1.4.tar.gz
- md5sums = 2242badbed6e96c1fdf32a040abe730a
- md5sums = d450f68291155bbe39a697e6df2a8f9c
+ source = wyrmsun-5.0.1.tar.gz::https://github.com/Andrettin/Wyrmsun/archive/v5.0.1.tar.gz
+ source = wyrmgus-5.0.1.tar.gz::https://github.com/Andrettin/Wyrmgus/archive/v5.0.1.tar.gz
+ md5sums = f65843589884dfcdc3b7cd15ed3ee4b3
+ md5sums = aca08095bc898463237604153c225050
pkgname = wyrmsun
-
diff --git a/PKGBUILD b/PKGBUILD
index 3af1e9e0a21..e3ce7b7c97a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: MCMic <come@chilliet.eu>
pkgname=wyrmsun
-pkgver=4.1.4
+pkgver=5.0.1
pkgrel=1
pkgdesc="Real-time strategy game based on history, mythology and fiction"
arch=('i686' 'x86_64')
@@ -18,8 +18,8 @@ depends=(
makedepends=('boost' 'cmake' 'glu')
source=("wyrmsun-${pkgver}.tar.gz::https://github.com/Andrettin/Wyrmsun/archive/v${pkgver}.tar.gz"
"wyrmgus-${pkgver}.tar.gz::https://github.com/Andrettin/Wyrmgus/archive/v${pkgver}.tar.gz")
-md5sums=('2242badbed6e96c1fdf32a040abe730a'
- 'd450f68291155bbe39a697e6df2a8f9c')
+md5sums=('f65843589884dfcdc3b7cd15ed3ee4b3'
+ 'aca08095bc898463237604153c225050')
build() {
cd ${srcdir}/Wyrmgus-${pkgver}
@@ -28,17 +28,21 @@ build() {
-DOpenGL_GL_PREFERENCE=GLVND \
-DWITH_GEOJSON=OFF \
;
- cmake --build . --target stratagus_main
+ cmake --build . --target wyrmgus_main
cd "${srcdir}/Wyrmsun-${pkgver}"
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX='/usr/' .
+ cmake . \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX='/usr/' \
+ -DBIN_DIR='bin/' \
+ ;
cmake --build .
}
check() {
cd ${srcdir}/Wyrmgus-${pkgver}
- cmake --build . --target stratagus_test
- ./stratagus_test
+ cmake --build . --target wyrmgus_test
+ ./wyrmgus_test
}
package() {