aboutsummaryrefslogtreecommitdiffstats
path: root/community/qt6-qtscxml/APKBUILD
blob: aa721a51ee4a7ced4e80e0a5c8fe3c79a1bcfdcb (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt6-qtscxml
pkgver=6.1.2
pkgrel=0
pkgdesc="Static and runtime integration of SCXML models into Qt6 code"
url="https://qt.io/"
arch="all"
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
depends_dev="
	qt6-qtbase-dev
	qt6-qtdeclarative-dev
	"
makedepends="$depends_dev
	cmake
	perl
	"
subpackages="$pkgname-dev"
options="!check" # No tests
builddir="$srcdir/qtscxml-everywhere-src-${pkgver/_/-}"

case $pkgver in
	*_alpha*|*_beta*|*_rc*) _rel=development_releases;;
	*) _rel=official_releases;;
esac

source="https://download.qt.io/$_rel/qt/${pkgver%.*}/${pkgver/_/-}/submodules/qtscxml-everywhere-src-${pkgver/_/-}.tar.xz"

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

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

sha512sums="
40f17034c6101339c1d2ec84468f4a19a4d51fe3a5d262b3d9259f03b116280fe0e5640c3c09ed09f5b92b80ee2cb82b238931d7ffc37ca2294fbe92215a4b52  qtscxml-everywhere-src-6.1.2.tar.xz
"