freeorion: broken aarch64

This commit is contained in:
maxice8 2018-12-29 11:33:32 -02:00
parent 49534d8096
commit 7a9422ac87
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -3,7 +3,7 @@ pkgname=freeorion
version=0.4.8
revision=3
_release=${version}_2018-08-23.26f16b0
wrksrc="src-tarball"
wrksrc=src-tarball
build_style=cmake
hostmakedepends="cppcheck doxygen python-pycodestyle"
makedepends="boost-devel freetype-devel glew-devel
@ -17,6 +17,12 @@ changelog="https://raw.githubusercontent.com/freeorion/freeorion/master/ChangeLo
distfiles="https://github.com/freeorion/freeorion/releases/download/v${version}/FreeOrion_v${_release}_Source.tar.gz"
checksum=d405dbeb43afb7fa76937cf15cdb10b15e818da171ec1eb03e4a1c3ecbba46f7
case "$XBPS_TARGET_MACHINE" in
aarch64)
broken="ERROR: python-setuptools-40.6.2_1: SHA256 hash is not valid: No such file or directory"
;;
esac
post_extract() {
_build_no=${_release/*_/}
sed -i -e "s|\${FreeOrion_BUILD_NO}|$_build_no|" util/Version.cpp.in