diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/spectacle/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
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 <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +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" |