aboutsummaryrefslogtreecommitdiffstats
path: root/community/kclock/APKBUILD
blob: 57ab3ff1f41e4be84300916a08887b71a0dfceb1 (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
39
40
41
42
43
44
45
46
47
48
49
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kclock
pkgver=21.06
pkgrel=0
pkgdesc="Clock app for Plasma Mobile"
url="https://invent.kde.org/plasma-mobile/kclock"
# armhf blocked by qt5-qtdeclarative
# s390x blocked by plasma-framework
# x86 broken
arch="all !armhf !s390x !x86 !mips64"
license="LicenseRef-KDE-Accepted-GPL"
depends="
	kirigami-addons
	kirigami2
	"
makedepends="
	extra-cmake-modules
	kconfig-dev
	kcoreaddons-dev
	kdbusaddons-dev
	ki18n-dev
	kirigami2-dev
	knotifications-dev
	plasma-framework-dev
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	qt5-qtmultimedia-dev
	qt5-qtquickcontrols2-dev
	qt5-qtsvg-dev
	"
source="https://download.kde.org/stable/plasma-mobile/$pkgver/kclock-$pkgver.tar.xz"
options="!check" # No tests

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
225175a2850f9e04a1025a67b180cdd813e9ee0bfade05313ec77d33a5e8c62f88e05b880f52bacd417c4b08e390e44855518ae1e6e66d5e4ba9cbc175efa411  kclock-21.06.tar.xz
"