aboutsummaryrefslogtreecommitdiffstats
path: root/community/calindori/APKBUILD
blob: c1d1d362a3dc3aab83211a3996d7bde67a062450 (plain)
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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=calindori
pkgver=1.1
pkgrel=1
pkgdesc="Calendar for Plasma Mobile"
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
url="https://invent.kde.org/kde/calindori"
license="GPL-2.0-or-later"
depends="qt5-qtquickcontrols2 kirigami2"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev kconfig-dev kirigami2-dev plasma-framework-dev ki18n-dev kcalendarcore-dev"
source="$pkgname-$pkgver.tar.gz::https://invent.kde.org/kde/calindori/-/archive/v$pkgver/calindori-v$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/$pkgname-v$pkgver"

build() {
<<<<<<< HEAD
	cmake -B "$builddir"/build \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
=======
	cd "$builddir"/build
	cmake "$builddir" \
		-DCMAKE_BUILD_TYPE=None \
>>>>>>> community/*: use None buildtype for CMake and plain buildtype for Meson
		-DCMAKE_INSTALL_PREFIX=/usr
	make -C build
}

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

sha512sums="9fba4b2c44cd24558b61b31f984317b798ae094b0090cecf0285771cdc1d98192e63edbd501a39abfd73e9d9635ec9eee25b9ced31f76f23bf50cda5b96807e5  calindori-1.1.tar.gz"