# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-frameworks pkgname=kunitconversion pkgver=5.108.0 pkgrel=2 pkgdesc="Support for unit conversion" arch="all !armhf" # armhf blocked by extra-cmake-modules url="https://community.kde.org/Frameworks" license="LGPL-2.1-or-later" depends_dev=" ki18n-dev qt5-qtbase-dev " makedepends="$depends_dev doxygen extra-cmake-modules qt5-qttools-dev samurai " _repo_url="https://invent.kde.org/frameworks/kunitconversion.git" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kunitconversion-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" options="net" # net required for tests _commit="" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON cmake --build build } check() { ctest --test-dir build --output-on-failure -j1 } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 0e5dd3c227893d112770118b08fc74a39c3835170bd4878aad84f54d76fe1021d5736390d5c5c8f4cad67c6cd478682e1dfee74c3f3897e3bd50df204a863a5f kunitconversion-5.108.0.tar.xz "