# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-applet-weather-widget pkgver=1.6.10 pkgrel=4 pkgdesc="Plasmoid for showing weather information from yr.no and Open Weather Map servers" # armhf blocked by qt5-qtdeclarative # s390x, mips64 and riscv64 blocked by polkit -> plasma-framework arch="all !armhf !s390x !mips64 !riscv64" url="https://www.linux-apps.com/content/show.php/Weather+Widget?content=169572" license="GPL-2.0-only" depends=" qt5-qtxmlpatterns " makedepends=" extra-cmake-modules plasma-framework-dev qt5-qtbase-dev " source="https://github.com/kotelnik/plasma-applet-weather-widget/archive/v$pkgver/plasma-applet-weather-widget-v$pkgver.tar.gz" subpackages="$pkgname-lang" options="!check" # No tests build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 5db4c2e426b9b8296b70ec4edf5fc2dbc5e8056f66327569008a77b05201896ed23039aae063807726376e203d637053884bfeeac78c59c519b7fc5685797331 plasma-applet-weather-widget-v1.6.10.tar.gz "