# Template file for 'qt6-translations'
pkgname=qt6-translations
version=6.8.1
revision=1
build_style=cmake
hostmakedepends="qt6-base-devel qt6-tools-devel perl"
short_desc="Cross-platform application and UI framework - translations"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-only with Qt-GPL-exception-1.0"
homepage="https://qt.io/"
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qttranslations-everywhere-src-${version}.tar.xz"
checksum=635a6093e99152243b807de51077485ceadd4786d4acb135b9340b2303035a4a

do_configure() {
	rm -rf build
	mkdir build
	cd build
	unset CC CXX CFLAGS CXXFLAGS LD LDFLAGS
	cmake -DCMAKE_BUILD_TYPE=None -GNinja ..
}
