archrelease: copy trunk to extra-x86_64
[arch-packages.git] / qt6-translations / trunk / PKGBUILD
blob348049dccd2e2a165aa33d7462f1902cd15be43c
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=qt6-translations
6 _qtver=6.2.2
7 pkgver=${_qtver/-/}
8 pkgrel=1
9 arch=(any)
10 url='https://www.qt.io'
11 license=(GPL3 LGPL3 FDL custom)
12 pkgdesc='A cross-platform application and UI framework (Translations)'
13 depends=(qt6-base)
14 makedepends=(cmake ninja qt6-tools)
15 groups=(qt6)
16 _pkgfn="${pkgname/6-/}-everywhere-src-$_qtver"
17 source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
18 sha256sums=('fc9244224c6e9930035e7efc8b6b541c739aa4cccf46de9779bc3f64d8e94c8f')
20 build() {
21   export PATH="/usr/lib/qt6/bin:$PATH"
22   cmake -B build -S $_pkgfn -G Ninja
23   cmake --build build -j1
26 package() {
27   DESTDIR="$pkgdir" cmake --install build
29   install -d "$pkgdir"/usr/share/licenses
30   ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/$pkgname