# Description: Google C++ test utility # URL: https://github.com/google/googletest # Maintainer: Aaron Ball, nullspoon at oper dot io # Depends on: name=gtest version=1.15.2 release=1 source=("https://github.com/google/googletest/archive/refs/tags/v${version}.tar.gz") build(){ cd googletest-${version} mkdir build; cd build cmake ../ \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_SHARED_LIBS=On \ -DBUILD_GMOCK=On make make DESTDIR=$PKG install }