aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kontrast/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-08-27 12:40:29 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-08-27 22:41:22 +0000
commitb0f776a491f81c61fb77d4a4a6b32cd7984c4f30 (patch)
treee943abe9ccc8f4698d17256c6fb4e7d2296774a9 /testing/kontrast/APKBUILD
parent6571611fce9f11b827a08251dabf03ad0278433d (diff)
downloadaports-b0f776a491f81c61fb77d4a4a6b32cd7984c4f30.tar.gz
aports-b0f776a491f81c61fb77d4a4a6b32cd7984c4f30.tar.bz2
aports-b0f776a491f81c61fb77d4a4a6b32cd7984c4f30.tar.xz
testing/kontrast: new aport
Diffstat (limited to 'testing/kontrast/APKBUILD')
-rw-r--r--testing/kontrast/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/kontrast/APKBUILD b/testing/kontrast/APKBUILD
new file mode 100644
index 0000000000..711e806f50
--- /dev/null
+++ b/testing/kontrast/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kontrast
+pkgver=1.0.0
+pkgrel=0
+pkgdesc="Tool to check contrast for colors that allows verifying that your colors are correctly accessible"
+arch="all !armhf" # Blocked by qt5-qtdeclarative
+url="https://invent.kde.org/accessibility/kontrast"
+license="GPL-3.0-or-later AND CC0-1.0"
+depends="kirigami2"
+makedepends="
+ extra-cmake-modules
+ qt5-qtbase-dev
+ qt5-qtdeclarative-dev
+ qt5-qtquickcontrols2-dev
+ qt5-qtsvg-dev
+ kirigami2-dev
+ ki18n-dev
+ kcoreaddons-dev
+ kdeclarative-dev
+ "
+source="https://download.kde.org/stable/kontrast/kontrast-$pkgver.tar.xz"
+subpackages="$pkgname-lang"
+options="!check" # No tests
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --build build --target install
+}
+sha512sums="6640868ccb33cd84e140f5141e33951b792e4e5871ba01cd25381a24e719cca57ccb401b662ac65dd7d8b66ff9df8ed98fa5347f9094a4f1522f8e6f604d1056 kontrast-1.0.0.tar.xz"