# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=parley pkgver=19.08.1 pkgrel=0 arch="all !ppc64le !s390x" # Limited by qt5-qtwebengine url="https://kde.org/applications/education/org.kde.parley" pkgdesc="Vocabulary Trainer" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtmultimedia-dev qt5-qtwebengine-dev kdoctools-dev kcoreaddons-dev kconfig-dev kcrash-dev ki18n-dev kio-dev knewstuff-dev kross-dev sonnet-dev kcmutils-dev kxmlgui-dev knotifications-dev libkeduvocdocument-dev libxslt-dev libxml2-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/applications/$pkgver/src/parley-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="9c4cdf86f7c8d7e2bcfa9ea3932f2c25c7c441b1496493bd388003f20dd07953b34948a95ade140d3fd3849da10c2c0c76bd22a27d791705314a0ed59dd20d0c parley-19.08.1.tar.xz"