# Contributor: Devin Lin # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-other pkgname=kweathercore pkgver=0.8.0 pkgrel=0 pkgdesc="Library to facilitate retrieval of weather information including forecasts and alerts" url="https://invent.kde.org/libraries/kweathercore" # armhf blocked by extra-cmake-modules arch="all !armhf" license="LGPL-2.0-or-later AND CC-BY-4.0" depends_dev=" kholidays-dev ki18n-dev qt6-qtbase-dev qt6-qtlocation-dev " makedepends="$depends_dev doxygen extra-cmake-modules graphviz qt6-qttools-dev samurai " subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" _repo_url="https://invent.kde.org/libraries/kweathercore.git" source="https://download.kde.org/stable/kweathercore/$pkgver/kweathercore-$pkgver.tar.xz" options="!check" # No tests build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" eed813f528422969aed17b831bf6153e49595cf148bb9bda477acdf76d41922eededa55f312d075ccf7bece9e8291dddc0efc92713073fc3c99f438cc0844b69 kweathercore-0.8.0.tar.xz "