diff options
Diffstat (limited to 'community/extra-cmake-modules/APKBUILD')
-rw-r--r-- | community/extra-cmake-modules/APKBUILD | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/community/extra-cmake-modules/APKBUILD b/community/extra-cmake-modules/APKBUILD index ba6a6a688a..751f61cea3 100644 --- a/community/extra-cmake-modules/APKBUILD +++ b/community/extra-cmake-modules/APKBUILD @@ -2,7 +2,7 @@ # Contributor: Ivan Tham <pickfire@riseup.net> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=extra-cmake-modules -pkgver=5.62.0 +pkgver=5.63.0 pkgrel=0 pkgdesc="Extra CMake modules" url="https://projects.kde.org/projects/kdesupport/extra-cmake-modules" @@ -14,8 +14,15 @@ checkdepends="qt5-qtbase-dev qt5-qtquickcontrols2-dev" subpackages="$pkgname-doc" source="http://download.kde.org/stable/frameworks/${pkgver%.*}/extra-cmake-modules-$pkgver.tar.xz" +prepare() { + default_prepare + + mkdir "$builddir"/build +} + build() { - cmake \ + cd "$builddir"/build + cmake "$builddir" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_TESTING=ON \ -DSphinx_BUILD_EXECUTABLE=/usr/bin/sphinx-build-3 @@ -23,15 +30,14 @@ build() { } check() { + cd "$builddir"/build # Broken tests CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "(KDEFetchTranslations|KDEInstallDirsTest.relative_or_absolute_usr|KDEInstallDirsTest.relative_or_absolute_qt)" } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install/fast - - install -Dm644 COPYING-CMAKE-SCRIPTS \ - "$pkgdir"/usr/share/licenses/$pkgname/COPYING } -sha512sums="9a9453fe25f5213e4f7349734486da61301b71198820318a1362bdc8ea95322f4900eb3781a311d5c250c3a4ca52ef88ec19a97122eb089ba6bdafca921facd8 extra-cmake-modules-5.62.0.tar.xz" +sha512sums="e2e50c43b6b639cebc11dfde7dbc8db6587d34cbcb4b4aa88edc683dbe16ca733aee8cd15de70f634af5d01ad774c882c58d43876d4177bf18b0ddd1c6a9db36 extra-cmake-modules-5.63.0.tar.xz" |