# Template file for 'qt6-translations'
pkgname=qt6-translations
version=6.7.2
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=9845780b5dc1b7279d57836db51aeaf2e4a1160c42be09750616f39157582ca9

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