warsow: restrict to x86 (close #4099).
This commit is contained in:
parent
33f402d984
commit
7d0f864810
1 changed files with 1 additions and 6 deletions
|
@ -19,11 +19,7 @@ homepage="http://www.warsow.net/"
|
|||
distfiles="http://mirror.null.one/warsow_${version/./}_sdk.tar.gz"
|
||||
checksum=99c88bc08f5e6055d28534de6e84fc204026dda51dc31e22caca1977f199453a
|
||||
|
||||
post_extract() {
|
||||
if [ "$XBPS_TARGET_MACHINE" != "i686" -a "$XBPS_TARGET_MACHINE" != "x86_64" ]; then
|
||||
sed -i 's/-msse2//' source/source/CMakeLists.txt
|
||||
fi
|
||||
}
|
||||
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
||||
|
||||
do_install() {
|
||||
# Move Compiled Data to Destination Directory
|
||||
|
@ -32,7 +28,6 @@ do_install() {
|
|||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64*) _arch=x86_64 ;;
|
||||
i686*) _arch=i686 ;;
|
||||
# arm*) _arch=arm ;; # XXX
|
||||
esac
|
||||
|
||||
vinstall "build/warsow.$_arch" 0755 /usr/share/warsow warsow
|
||||
|
|
Loading…
Reference in a new issue