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

Antonio Rojas arojas at gemini.archlinux.org
Thu Jun 16 17:00:37 UTC 2022


    Date: Thursday, June 16, 2022 @ 17:00:36
  Author: arojas
Revision: 448838

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

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

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

Copied: qt6-translations/repos/kde-unstable-any/PKGBUILD (from rev 448837, qt6-translations/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-any/PKGBUILD	                        (rev 0)
+++ kde-unstable-any/PKGBUILD	2022-06-16 17:00:36 UTC (rev 448838)
@@ -0,0 +1,32 @@
+# 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.4.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=('feaace866e0b55518214d9410efdcf9078aed66bc6167c209ceed1e641cb4495')
+
+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
+}



More information about the arch-commits mailing list