aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-19 01:25:34 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-18 20:38:13 -0300
commit391f4aea6326f9189b81d95c8eb87836a3ffce79 (patch)
tree219aae645617d7dafed536d5913f65dd013e224d /testing
parent910e52fa5d07ba2668dec7d775570e7f37c5ae57 (diff)
downloadaports-391f4aea6326f9189b81d95c8eb87836a3ffce79.tar.bz2
aports-391f4aea6326f9189b81d95c8eb87836a3ffce79.tar.xz
testing/spectacle: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/spectacle/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/spectacle/APKBUILD b/testing/spectacle/APKBUILD
new file mode 100644
index 0000000000..3055c35dfd
--- /dev/null
+++ b/testing/spectacle/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+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"