From 601e6ea2acab8965ffa7c2de1e1b0b3e710fd9c1 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Sun, 13 Oct 2019 18:31:28 +0200 Subject: community/spectacle: move from testing --- community/spectacle/APKBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 community/spectacle/APKBUILD (limited to 'community') diff --git a/community/spectacle/APKBUILD b/community/spectacle/APKBUILD new file mode 100644 index 0000000000..2098c518cb --- /dev/null +++ b/community/spectacle/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=spectacle +pkgver=19.08.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 kwayland-dev xcb-util-image-dev xcb-util-cursor-dev libxcb-dev xcb-util-renderutil-dev" +source="https://download.kde.org/stable/applications/$pkgver/src/spectacle-$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="a03dbe13aa0e0cea07b6505ead130946233574863fc5994d42a971d8a9ae0a24be5e4dfab38640857d5bb89f33dc3736bad7e87a3a76aa83b450156e8db96723 spectacle-19.08.2.tar.xz" -- cgit v1.2.3