freeorion: fix build number
This commit is contained in:
parent
11985b16bc
commit
1e72cebdbe
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'freeorion'
|
||||
pkgname=freeorion
|
||||
version=0.4.7.1
|
||||
revision=1
|
||||
revision=2
|
||||
_release=${version}_2017-09-03.139ffd9
|
||||
wrksrc="src-tarball"
|
||||
build_style=cmake
|
||||
|
@ -15,3 +15,9 @@ homepage="http://freeorion.org/index.php/Main_Page"
|
|||
license="GPL-2, CC-BY-SA-3.0"
|
||||
distfiles="https://github.com/freeorion/freeorion/releases/download/v${version}/FreeOrion_v${_release}_Source.tar.gz"
|
||||
checksum=15ace123318e46321b95a358439145ad1835d8edbc020afbf295f4919a0fa131
|
||||
|
||||
post_extract() {
|
||||
_build_no=${_release/*_/}
|
||||
sed -i -e "s|\${FreeOrion_BUILD_NO}|$_build_no|" util/Version.cpp.in
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue