aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qt6-qttranslations/APKBUILD
blob: 0af468a01f7d8ba1167787ec8230ee5b0db99468 (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
34
35
36
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt6-qttranslations
pkgver=6.0.3
pkgrel=0
pkgdesc="A cross-platform application and UI framework (Translations)"
url="https://qt.io"
arch="noarch"
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
makedepends="
	cmake
	perl
	qt6-qtbase-dev
	qt6-qttools-dev
	"
builddir="$srcdir/qttranslations-everywhere-src-${pkgver/_/-}"
options="!check" # No tests

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

source="https://download.qt.io/$_rel/qt/${pkgver%.*}/${pkgver/_/-}/submodules/qttranslations-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="f65e26e553962c2c4bc498bd3423f1e7e9ea4983bcb6905c38553c0b00972d2c1921f338ece40be621aa840e096d03f34f15ff71ccbe6f479a7abc902afcc536  qttranslations-everywhere-src-6.0.3.tar.xz"