freeorion: fix version generation

This commit is contained in:
Đoàn Trần Công Danh 2024-04-12 11:51:11 +07:00
parent a0f8ddef7d
commit d2c47809d9

View file

@ -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"