# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kturtle pkgver=19.12.2 pkgrel=1 arch="all !armhf" url="http://edu.kde.org/kturtle" pkgdesc="Educational Programming Environment" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kcrash-dev kio-dev knewstuff-dev kdoctools-dev ktextwidgets-dev ki18n-dev kcoreaddons-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/kturtle-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" options="!check" # No tests build() { cmake \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="5c82f095806c9c234db746c9db2a865dcbc58667ab0c0488e498ccccbd8f5a662f0984424b32dd527ffa747a7e5b1589a040354cceffda1509eaca3996fdbb79 kturtle-19.12.2.tar.xz"