# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=lokalize pkgver=19.12.0 pkgrel=0 pkgdesc="Computer-Aided Translation System" arch="all" url="https://kde.org/applications/office/org.kde.lokalize" license="(GPL-2.0-only OR GPL-3.0-only) AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev ki18n-dev kio-dev kxmlgui-dev knotifications-dev kconfig-dev kcoreaddons-dev kdoctools-dev kross-dev sonnet-dev kdbusaddons-dev kcrash-dev hunspell-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/lokalize-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" 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="19961a138ad75ee14bb36e8d169e6ac9376fb0eb0b3f7392d3bf9dc0cf9a932055842a13d74f2e5662138bbe1e8cdd90722b827adafd379ec79186a1a4792861 lokalize-19.12.0.tar.xz"