# Maintainer: Martchus # All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where # you also find the URL of a binary repository. pkgname=qt6-translations _qtver=6.0.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=(any) url='https://www.qt.io' license=(GPL3 LGPL3 FDL custom) pkgdesc='A cross-platform application and UI framework (Translations)' depends=(qt6-base) makedepends=(cmake qt6-tools ninja) groups=(qt6) _pkgfqn="${pkgname/6-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") sha256sums=('63ffd26df581cef6b2a47122917a241f6d4568f193a2907c9b57dd3013dce47e') build() { cmake -G Ninja -B build -S $_pkgfqn cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build install -d "$pkgdir"/usr/share/licenses ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/qt6-translations }