22 lines
653 B
Bash
22 lines
653 B
Bash
# Template file for 'unittest-cpp'
|
|
pkgname=unittest-cpp
|
|
version=1.6.1
|
|
revision=1
|
|
build_style=cmake
|
|
short_desc="A lightweight unit testing framework for C++"
|
|
maintainer="Spencer Hill <spencernh77@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/unittest-cpp/unittest-cpp"
|
|
distfiles="https://github.com/unittest-cpp/unittest-cpp/archive/v${version}.tar.gz"
|
|
checksum=1cc9071be01db190f26868fefb6a7af49ee56a339fc3b08d1a1e9eeca5376c45
|
|
|
|
pre_build() {
|
|
case $XBPS_TARGET_MACHINE in
|
|
arm* ) echo "Removing built in test from arm build. Won't run on host x86_64 machine"
|
|
sed -i '59,61d' CMakeLists.txt ;;
|
|
esac
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|