-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
25 lines (24 loc) · 972 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Template file for 'freeorion'
pkgname=freeorion
version=0.5.0.1
revision=2
build_style=cmake
hostmakedepends="cppcheck doxygen python3-pycodestyle"
makedepends="boost-devel libvorbis-devel
freetype-devel glew-devel libopenal-devel python3-devel SDL2-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Turn-based space empire and galactic conquest (4X) computer game"
maintainer="Emil Tomczyk <emru@emru.xyz>"
license="GPL-2.0-or-later"
homepage="https://freeorion.org/index.php/Main_Page"
changelog="https://raw.githubusercontent.com/freeorion/freeorion/master/ChangeLog.md"
distfiles="https://github.com/freeorion/freeorion/releases/download/v${version}/FreeOrion_v${version}_Source.tar.gz"
checksum=c6f62c3b400d50b336d62508ac5d5d656e4c0c8e57d0ff2b270f72381e68e1db
replaces="freeorion-data>=0"
pre_configure() {
cp util/Version.cpp util/Version.cpp.in
if [ "$XBPS_WORDSIZE" = "32" ]; then
CXXFLAGS+=" -g1"
LDFLAGS+=" -Wl,--no-keep-memory"
fi
}