goxel: update to 0.8.1. (#2845)

This commit is contained in:
John Zimmermann 2018-09-17 19:24:00 +02:00 committed by cr6git
parent 980e45a9ec
commit 9cb8d362ed

View file

@ -1,7 +1,7 @@
# Template file for 'goxel' # Template file for 'goxel'
pkgname=goxel pkgname=goxel
version=0.8.0 version=0.8.1
revision=2 revision=1
build_style=scons build_style=scons
make_build_args="debug=0 werror=0" make_build_args="debug=0 werror=0"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
@ -11,7 +11,7 @@ maintainer="John <johnz@posteo.net>"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
homepage="https://guillaumechereau.github.io/goxel/" homepage="https://guillaumechereau.github.io/goxel/"
distfiles="https://github.com/guillaumechereau/goxel/archive/v${version}.tar.gz" distfiles="https://github.com/guillaumechereau/goxel/archive/v${version}.tar.gz"
checksum=2fb9328e27b4f24f2ddff9e79f01832661fd626b52fa0079039cbb64a3e704ca checksum=a954b8f772468848dd806e7c53e9e994be9df5ee943a2cbb8b605462da355c87
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" argp-standalone";; *-musl) makedepends+=" argp-standalone";;
@ -24,8 +24,10 @@ pre_build() {
-e "/conf = env.Configure()/ a env.Replace(CC = \"$CC\")" \ -e "/conf = env.Configure()/ a env.Replace(CC = \"$CC\")" \
-e "/conf = env.Configure()/ a env.Replace(CXX = \"$CXX\")" -e "/conf = env.Configure()/ a env.Replace(CXX = \"$CXX\")"
fi fi
sed -i Makefile \ case $XBPS_TAGET_MACHINE in
-e "s;scons debug=0;& werror=0;" x86_64*|i686*);;
*) sed -i SConstruct -e "s/-msse2 //";;
esac
} }
do_install() { do_install() {