diff options
author | Pierre Choffet | 2022-11-16 12:10:25 -0500 |
---|---|---|
committer | Pierre Choffet | 2022-11-16 12:41:11 -0500 |
commit | 274f874d0110c172fda2fa2ed0304ef23aabdac3 (patch) | |
tree | 38d13a960af8e0edeb2645fd73b397dd89f492f8 | |
parent | 2a9900052e24f847e646d461c8885210effb83ca (diff) | |
download | aur-return-to-the-roots-git.tar.gz |
Fix package after changes in git
Problem was reported by dreieck, thank you!
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | PKGBUILD | 11 |
3 files changed, 12 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = return-to-the-roots-git pkgdesc = Free/libre implementation of The Settlers II game engine - pkgver = v0.9.1.120.g83c6f815c + pkgver = v0.9.5.21.g0537322eb pkgrel = 1 url = https://siedler25.org/ install = return-to-the-roots.install @@ -26,6 +26,7 @@ pkgbase = return-to-the-roots-git depends = libsamplerate optdepends = siedler2-data provides = return-to-the-roots + provides = s25rttr conflicts = return-to-the-roots conflicts = s25rttr conflicts = s25rttr-nightly-bin diff --git a/ChangeLog b/ChangeLog index 6ac12bcad7f4..cb911cbcef79 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2022-11-16 Pierre Choffet <peuc@wanadoo.fr> + * v0.9.5.21.g0537322eb-1 : + Fix package versioning scheme + Fix error in prepare() after git changes + Remove a now useless workaround + 2022-02-03 Pierre Choffet <peuc@wanadoo.fr> * v0.9.1.120.g83c6f815c : Fix package versioning scheme after upstream changes @@ -1,7 +1,7 @@ # Maintainer: Pierre Choffet <peuc@wanadoo.fr> pkgname=return-to-the-roots-git -pkgver=v0.9.1.120.g83c6f815c +pkgver=v0.9.5.21.g0537322eb pkgrel=1 pkgdesc="Free/libre implementation of The Settlers II game engine" arch=("x86_64") @@ -11,7 +11,7 @@ makedepends=("cmake" "git" "boost" "mesa" "sdl_mixer" "sdl2_mixer" "curl" "lua53 depends=("boost-libs" "libgl" "sdl_mixer" "sdl2_mixer" "miniupnpc" "lua53" "libsamplerate") optdepends=("siedler2-data") conflicts=("return-to-the-roots" "s25rttr" "s25rttr-nightly-bin") -provides=("return-to-the-roots") +provides=("return-to-the-roots" "s25rttr") install="return-to-the-roots.install" changelog="ChangeLog" source=("git+https://github.com/Return-To-The-Roots/s25client.git" @@ -46,7 +46,7 @@ sha256sums=('SKIP' pkgver() { cd "s25client/" - git describe --long | sed 's/-/./g' + git describe --tags | sed 's/-/./g' } prepare() { @@ -67,7 +67,7 @@ prepare() { git config submodule.contrib/turtle.url $srcdir/turtle # Get modules - git submodule update + git -c protocol.file.allow=always submodule update } build() { @@ -76,11 +76,8 @@ build() { # Build mkdir -p build && cd build - # NOTE: Wno-error=stringop-overflow is added to bypass an error in - # 25client/libs/s25main/GamePlayer.cpp:328 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" \ -DBUILD_TESTING=Off \ - -DCMAKE_CXX_FLAGS="-Wno-error=stringop-overflow" \ -DRTTR_BINDIR="bin" -DRTTR_DATADIR="share/s25rttr" \ -DRTTR_LIBDIR="lib/s25rttr" -DRTTR_EXTRA_BINDIR="bin" \ -DRTTR_USE_SYSTEM_SAMPLERATE=On \ |