diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-10-13 18:31:28 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-10-13 14:17:14 -0300 |
commit | 601e6ea2acab8965ffa7c2de1e1b0b3e710fd9c1 (patch) | |
tree | 521c46b101f413246dfb39f2f258b16aa1f876e6 /community/spectacle/APKBUILD | |
parent | c49ccfb6f29254b9420f9a0c6c2fe948f85073e6 (diff) | |
download | aports-601e6ea2acab8965ffa7c2de1e1b0b3e710fd9c1.tar.bz2 aports-601e6ea2acab8965ffa7c2de1e1b0b3e710fd9c1.tar.xz |
community/spectacle: move from testing
Diffstat (limited to 'community/spectacle/APKBUILD')
-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" |