# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kmag pkgver=19.08.1 pkgrel=0 arch="all" url="https://kde.org/applications/utilities/org.kde.kmag" pkgdesc="A screen magnifier" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev kdoctools-dev ki18n-dev kio-dev kxmlgui-dev" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$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 ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="c4e202c42008652cef0cf804c74e20676ad0e09fc80a481b22ed54400b13492723f96851ba30d2adce4188ada5ece65fd99e9be29f50d63329411fdf344cefeb kmag-19.08.1.tar.xz"