aboutsummaryrefslogtreecommitdiffstats
path: root/community/mauikit/APKBUILD
blob: ddf0e9613b98d6e6c7101b9115e226be6cf9c276 (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
51
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mauikit
pkgver=1.2.0
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://invent.kde.org/kde/mauikit"
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://invent.kde.org/maui/mauikit/-/archive/v$pkgver/mauikit-v$pkgver.tar.gz"
subpackages="$pkgname-dev"
builddir="$srcdir/$pkgname-v$pkgver"

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 --build build --target install
}
sha512sums="55795e332053b49edf4ea966ea19dbe804ba671587a6bf72e5cbe2f52acc5df0661235a4f38cf555a390c2701da1ddfa6ed6800576d385a72cd422996b1538a5  mauikit-v1.2.0.tar.gz"