[arch-commits] Commit in qt6-translations/repos (2 files)

Antonio Rojas arojas at gemini.archlinux.org
Sat Feb 5 23:33:25 UTC 2022


    Date: Saturday, February 5, 2022 @ 23:33:24
  Author: arojas
Revision: 436298

archrelease: copy kde-unstable to kde-unstable-any

Added:
  qt6-translations/repos/kde-unstable-any/
  qt6-translations/repos/kde-unstable-any/PKGBUILD
    (from rev 436297, qt6-translations/kde-unstable/PKGBUILD)

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

Copied: qt6-translations/repos/kde-unstable-any/PKGBUILD (from rev 436297, qt6-translations/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-any/PKGBUILD	                        (rev 0)
+++ kde-unstable-any/PKGBUILD	2022-02-05 23:33:24 UTC (rev 436298)
@@ -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.3.0-beta1
+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/development_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
+sha256sums=('7b3cb474f0ea79238b310e399c821e33d145505720233fb1692b1455f7e43fbf')
+
+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