aboutsummaryrefslogtreecommitdiffstats
path: root/community/kalk/APKBUILD
blob: 926efbb2f0a480dce09196dde9a850db9045d30f (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kalk
pkgver=21.06
pkgrel=0
pkgdesc="A powerful cross-platfrom calculator application"
arch="all !armhf" # Blocked by qt5-qtdeclarative
url="https://invent.kde.org/plasma-mobile/kalk"
license="GPL-3.0-or-later"
makedepends="
	bison
	extra-cmake-modules
	flex
	gmp-dev
	kconfig-dev
	kcoreaddons-dev
	ki18n-dev
	kirigami2-dev
	kunitconversion-dev
	mpfr-dev
	qt5-qtbase-dev
	qt5-qtfeedback-dev
	qt5-qtquickcontrols2-dev
	"
source="https://download.kde.org/stable/plasma-mobile/$pkgver/kalk-$pkgver.tar.xz"
options="!check" # No tests

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

package() {
	DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
3d4476ba00018b662e602b233e73435c7aa2e4c0c41f12e146d16f54965b3dd0ef132a8df9d4b48c40053d90c2d00c7b248a9a1af030c73b015b36015d885bab  kalk-21.06.tar.xz
"