# Contributor: Bart Ribbers # Maintainer: Luca Weiss pkgname=cmake-extras pkgver=1.6 pkgrel=2 pkgdesc="A collection of add-ons for the CMake build tool" url="https://gitlab.com/ubports/core/cmake-extras" arch="noarch" license="LGPL-3.0-only" depends="cmake" makedepends="samurai" options="!check" # No testsuite source="https://gitlab.com/ubports/core/cmake-extras/-/archive/$pkgver/cmake-extras-$pkgver.tar.gz 0001-GMock-Extract-version-detection-code-into-function.patch 0002-GMock-Use-GMock-targets-from-CMake-if-possible.patch " build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr cmake --build build } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums=" 1c8133e783eebe8e2d0f302c85bc482429b76154abebd85d224d048da4cfc34983a3c234897a44249fb56ce4fd1ae937f16ded7d20864489de61747608d924e5 cmake-extras-1.6.tar.gz 962eacb3f012bcb302911d684a2bfafd23b6e924cbf8365c04a3cbf575e714a819a8cbed5890646dc4e92ee6d73614923091176657c11f6f5cd7e9dd262135d8 0001-GMock-Extract-version-detection-code-into-function.patch 835dec52303d4ff212f6a82e7ad768d8472c5ba00104c64ce25356461e63b00820f901914a1f2d28cf3f59ee1cd57edacb422688e93da81f5ad84c162fe8b51d 0002-GMock-Use-GMock-targets-from-CMake-if-possible.patch "