# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kiten pkgver=19.08.1 pkgrel=1 arch="all" url="https://edu.kde.org/kiten/" pkgdesc="Japanese Reference/Study Tool" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev karchive-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdoctools-dev ki18n-dev khtml-dev knotifications-dev kxmlgui-dev" source="https://download.kde.org/stable/applications/$pkgver/src/kiten-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang $pkgname-dev" options="!check" # No tests build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="89b022c32b0add0e4a978f9aa105a939d4ce00c74db22a9a58bc7d50f23e9e0e91ebdd478bd90ade32de2be487b206a056ff880668f352edcb327088236de862 kiten-19.08.1.tar.xz"