aboutsummaryrefslogtreecommitdiffstats
path: root/community/kontrast/APKBUILD
blob: c9384bd588bd608f684fc46b065bec9994bfdc56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kontrast
pkgver=20.12.2
pkgrel=0
pkgdesc="Tool to check contrast for colors that allows verifying that your colors are correctly accessible"
# armhf: Blocked by qt5-qtdeclarative
# s390x: Blocked by rust
arch="all !armhf !s390x !mips64"
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/release-service/$pkgver/src/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="01a94efc2ac2cf8faad1d41dba97b33a9ca9753a159e1e065e89ba819a370c7f96e79de242e675b1ca1a16699c07be4b25e556f3f9fdf5de28ebd07c7bd50e99  kontrast-20.12.2.tar.xz"