# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=spectacle pkgver=19.04.2 pkgrel=0 pkgdesc="Application for capturing desktop screenshots" arch="all" url="https://kde.org/applications/utilities/org.kde.spectacle" license="GPL-2.0-only" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtx11extras-dev kcoreaddons-dev kwidgetsaddons-dev kdbusaddons-dev knotifications-dev kconfig-dev ki18n-dev kio-dev kwindowsystem-dev kdoctools-dev knewstuff-dev kdeclarative-dev libkipi-dev purpose-dev xcb-util-image-dev xcb-util-cursor-dev libxcb-dev xcb-util-renderutil-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="26c1323c57034c45a49637904fa3228f24a6ce1fa1d3dd1512e09e42b5762bdc234092fe955d430f8326212f7032aa16f4a5964a51a0ab724408c6fdce0183a1 spectacle-19.04.2.tar.xz"