Date: Saturday, April 8, 2023 @ 22:12:18
Author: arojas
Revision: 473441
archrelease: copy trunk to testing-any
Added:
qt6-translations/repos/testing-any/
qt6-translations/repos/testing-any/PKGBUILD
(from rev 473440, qt6-translations/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: qt6-translations/repos/testing-any/PKGBUILD (from rev 473440,
qt6-translations/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2023-04-08 22:12:18 UTC (rev 473441)
@@ -0,0 +1,32 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+
+pkgname=qt6-translations
+_qtver=6.5.0
+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=()
+makedepends=(cmake ninja qt6-tools)
+groups=(qt6)
+_pkgfn=${pkgname/6-/}-everywhere-src-$_qtver
+source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
+sha256sums=('fc85d0fd8393f518653ccada1014177a56df6e73f30f3b64eea0c2e4a0067a3d')
+
+build() {
+ export PATH="/usr/lib/qt6/bin:$PATH"
+ cmake -B build -S $_pkgfn -G Ninja \
+ -DCMAKE_MESSAGE_LOG_LEVEL=STATUS
+ cmake --build build -j1
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+
+ install -d "$pkgdir"/usr/share/licenses
+ ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/$pkgname
+}