# Maintainer: Bart Ribbers pkgname=kclock pkgver=0_git20200618 pkgrel=0 _commit="608247addaf4e6666c9985c82eb0b73aa6840310" pkgdesc="Clock app for Plasma Mobile" url="https://invent.kde.org/plasma-mobile/koko" arch="all !armhf !armv7" # armhf: pmaports#75, armv7: build.postmarketos.org#72 license="LicenseRef-KDE-Accepted-GPL" depends="kirigami2 kirigami-addons" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev kconfig-dev kirigami2-dev ki18n-dev kcoreaddons-dev kconfig-dev knotifications-dev kdbusaddons-dev" source="https://invent.kde.org/plasma-mobile/kclock/-/archive/$_commit/kclock-$_commit.tar.gz" options="!check" # No tests builddir="$srcdir/$pkgname-$_commit" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums="a3b63cace341c6ece2cd79df47c86c741b113e0d556ff8b427314d7bea1043d7b310007808fa8c7e03bd82fd063953cc53835cc9ad6d4f6fbb0dec48f81fec61 kclock-608247addaf4e6666c9985c82eb0b73aa6840310.tar.gz"