# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=mkcal pkgver=0.6.7 pkgrel=0 pkgdesc="The mobile version of the original KCAL from KDE" url="https://github.com/sailfishos/mkcal" # armhf blocked extra-cmake-modules arch="all !armhf" license="LGPL-2.0-or-later" depends_dev=" kcalendarcore-dev qt5-qtbase-dev timed-dev " makedepends="$depends_dev doxygen extra-cmake-modules graphviz samurai " subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" source="https://github.com/sailfishos/mkcal/archive/$pkgver/mkcal-$pkgver.tar.gz" options="!check" # Broken and requires running DBus server build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_PLUGINS=OFF \ -DBUILD_DOCUMENTATION=ON cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } tools() { pkgdesc="$pkgdesc (tools)" amove usr/bin/mkcaltool } sha512sums=" 0f9dea103721f593c056e7f5ff7de6e155e840292c6d152d8582e027f88693f472f9fc06fbf0ad7be67360cded83935b67d13446de1215dbb88076ae42349cb4 mkcal-0.6.7.tar.gz "