From d2c47809d955c1865370be689b5d526561cc013c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 12 Apr 2024 11:51:11 +0700 Subject: [PATCH] freeorion: fix version generation --- srcpkgs/freeorion/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/freeorion/template b/srcpkgs/freeorion/template index 1b54b3b84c5..a65190bc8c4 100644 --- a/srcpkgs/freeorion/template +++ b/srcpkgs/freeorion/template @@ -1,7 +1,7 @@ # Template file for 'freeorion' pkgname=freeorion version=0.5.0.1 -revision=1 +revision=2 build_style=cmake hostmakedepends="cppcheck doxygen python3-pycodestyle" makedepends="boost-devel libvorbis-devel @@ -17,7 +17,7 @@ checksum=c6f62c3b400d50b336d62508ac5d5d656e4c0c8e57d0ff2b270f72381e68e1db replaces="freeorion-data>=0" pre_configure() { - cp util/Version.cpp.in util/Version.cpp + cp util/Version.cpp util/Version.cpp.in if [ "$XBPS_WORDSIZE" = "32" ]; then CXXFLAGS+=" -g1" LDFLAGS+=" -Wl,--no-keep-memory"