# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kruler pkgver=19.04.2 pkgrel=0 arch="all" url="https://kde.org/applications/graphics/org.kde.kruler" pkgdesc="An on-screen ruler for measuring pixels" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtx11extras-dev kdoctools-dev ki18n-dev knotifications-dev kwindowsystem-dev kxmlgui-dev" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$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="cc79c4b1093d1b001dd739d5f487ba9199fb7a336c49e917db340d81d3d4f42a9e017e6a471695ee0de32abb2c076e299c8a1ff2842926788762db5b7593cbe5 kruler-19.04.2.tar.xz"