unittest-cpp: update to 2.0.0.

Closes #8908.
This commit is contained in:
maxice8 2017-11-05 16:19:11 -02:00 committed by Enno Boland
parent 7b42661d75
commit 674e79daef

View file

@ -1,6 +1,6 @@
# Template file for 'unittest-cpp' # Template file for 'unittest-cpp'
pkgname=unittest-cpp pkgname=unittest-cpp
version=1.6.1 version=2.0.0
revision=1 revision=1
build_style=cmake build_style=cmake
short_desc="A lightweight unit testing framework for C++" short_desc="A lightweight unit testing framework for C++"
@ -8,14 +8,11 @@ maintainer="Spencer Hill <spencernh77@gmail.com>"
license="MIT" license="MIT"
homepage="https://github.com/unittest-cpp/unittest-cpp" homepage="https://github.com/unittest-cpp/unittest-cpp"
distfiles="https://github.com/unittest-cpp/unittest-cpp/archive/v${version}.tar.gz" distfiles="https://github.com/unittest-cpp/unittest-cpp/archive/v${version}.tar.gz"
checksum=1cc9071be01db190f26868fefb6a7af49ee56a339fc3b08d1a1e9eeca5376c45 checksum=74852198877dc2fdebdc4e5e9bd074018bf8ee03a13de139bfe41f4585b2f5b9
pre_build() { if [ "$CROSS_BUILD" ]; then
case $XBPS_TARGET_MACHINE in configure_args+=" -DUTPP_INCLUDE_TESTS_IN_BUILD=OFF"
arm* ) echo "Removing built in test from arm build. Won't run on host x86_64 machine" fi
sed -i '59,61d' CMakeLists.txt ;;
esac
}
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE