summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAnton Karmanov2021-08-30 12:21:38 +0300
committerAnton Karmanov2021-08-30 12:21:38 +0300
commitc7cca16d3242cb64a97fe0a84515f04794fbea13 (patch)
tree14d40c01bff89b57cae98d06fcb3789788090a79 /PKGBUILD
parent19264501fe8c5515fcea96c101f2b0f2dc3b828d (diff)
downloadaur-wyrmsun.tar.gz
Update to 5.0.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 11 insertions, 7 deletions
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() {