[arch-commits] Commit in qt6-translations/repos (testing-any testing-any/PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Fri Jan 28 14:13:32 UTC 2022


    Date: Friday, January 28, 2022 @ 14:13:32
  Author: arojas
Revision: 435308

archrelease: copy trunk to testing-any

Added:
  qt6-translations/repos/testing-any/
  qt6-translations/repos/testing-any/PKGBUILD
    (from rev 435307, qt6-translations/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: qt6-translations/repos/testing-any/PKGBUILD (from rev 435307, qt6-translations/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2022-01-28 14:13:32 UTC (rev 435308)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qt6-translations
+_qtver=6.2.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=('e5923d76d82460e8b35fc5a34674ec4c70120ba641fc80ee42848bf2df1bb70c')
+
+build() {
+  export PATH="/usr/lib/qt6/bin:$PATH"
+  cmake -B build -S $_pkgfn -G Ninja
+  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
+}



More information about the arch-commits mailing list