Date: Thursday, March 16, 2023 @ 11:47:39
Author: arojas
Revision: 470969
archrelease: copy trunk to staging-any
Added:
qt6-translations/repos/staging-any/
qt6-translations/repos/staging-any/PKGBUILD
(from rev 470968, qt6-translations/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: qt6-translations/repos/staging-any/PKGBUILD (from rev 470968,
qt6-translations/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2023-03-16 11:47:39 UTC (rev 470969)
@@ -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.3
+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=('79e56b7800d49649a8a8010818538c367a829e0b7a09d5f60bd3aecf5abe972c')
+
+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
+}