aboutsummaryrefslogtreecommitdiffstats
path: root/community/mauikit/APKBUILD
blob: 7233ba2ea22759b511185999c0215a7af8dd0835 (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
50
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mauikit
pkgver=1.2.1
pkgrel=0
pkgdesc="Kit for developing MAUI Apps"
# armhf blocked by qt5-qtdeclarative
# mips64, s390x blocked by plasma-framework
arch="all !armhf !mips64 !s390x"
url="https://mauikit.org/"
license="GPL-2.0-or-later"
depends="kirigami2"
depends_dev="
	kconfig-dev
	kconfigwidgets-dev
	kdeclarative-dev
	kdecoration-dev
	ki18n-dev
	kio-dev
	knotifications-dev
	kservice-dev
	plasma-framework-dev
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	qt5-qtquickcontrols2-dev
	qt5-qtsvg-dev
	syntax-highlighting-dev
	"
makedepends="$depends_dev
	extra-cmake-modules
	"
source="https://download.kde.org/stable/maui/mauikit/$pkgver/mauikit-$pkgver.tar.xz"
subpackages="$pkgname-dev"

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

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}
sha512sums="8195ccd001228c1123a7a24865f5435ee920da326c59f1440df853da2e038f62f100d71d9ea1b6a0d2451e6951e6f26874cc5e1c03b7c1f0fd39ffc17bac4904  mauikit-1.2.1.tar.xz"