1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/community/cmake-extras/APKBUILD

34 lines
1.4 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=cmake-extras
pkgver=0_git20210528
pkgrel=0
_commit="87ffd0dd75e0f6ba7ae499af5c1f26f3f9ebe204"
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"
options="!check" # No testsuite
source="https://gitlab.com/ubports/core/cmake-extras/-/archive/$_commit/cmake-extras-$_commit.tar.gz
0001-GMock-Extract-version-detection-code-into-function.patch
0002-GMock-Use-GMock-targets-from-CMake-if-possible.patch
"
builddir="$srcdir/$pkgname-$_commit"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="
977890bba9d537de4b9578bb134e68ba2a3c18251023f73d73355cd5446dc669670fe6ddac578417fcaabe9ede1c34e52b2b2fb93f168a40fd8d55ee396263a8 cmake-extras-87ffd0dd75e0f6ba7ae499af5c1f26f3f9ebe204.tar.gz
962eacb3f012bcb302911d684a2bfafd23b6e924cbf8365c04a3cbf575e714a819a8cbed5890646dc4e92ee6d73614923091176657c11f6f5cd7e9dd262135d8 0001-GMock-Extract-version-detection-code-into-function.patch
835dec52303d4ff212f6a82e7ad768d8472c5ba00104c64ce25356461e63b00820f901914a1f2d28cf3f59ee1cd57edacb422688e93da81f5ad84c162fe8b51d 0002-GMock-Use-GMock-targets-from-CMake-if-possible.patch
"