Date: Thursday, September 29, 2022 @ 11:07:13
Author: arojas
Revision: 456935
archrelease: copy trunk to testing-any
Added:
qt6-translations/repos/testing-any/
qt6-translations/repos/testing-any/PKGBUILD
(from rev 456934, qt6-translations/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: qt6-translations/repos/testing-any/PKGBUILD (from rev 456934,
qt6-translations/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2022-09-29 11:07:13 UTC (rev 456935)
@@ -0,0 +1,32 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+
+pkgname=qt6-translations
+_qtver=6.4.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=('7ab93a930b693eeb53ab97b038b4e6e057d06374e6f49a3814d99145a276925f')
+
+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
+}