[arch-commits] Commit in (4 files)

Antonio Rojas arojas at archlinux.org
Fri Nov 20 13:10:10 UTC 2020


    Date: Friday, November 20, 2020 @ 13:10:10
  Author: arojas
Revision: 401545

Add qt6-translations

Added:
  qt6-translations/
  qt6-translations/kde-unstable/
  qt6-translations/kde-unstable/PKGBUILD
  qt6-translations/kde-unstable/src/

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

Added: qt6-translations/kde-unstable/PKGBUILD
===================================================================
--- qt6-translations/kde-unstable/PKGBUILD	                        (rev 0)
+++ qt6-translations/kde-unstable/PKGBUILD	2020-11-20 13:10:10 UTC (rev 401545)
@@ -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.0.0-beta5
+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=(qt6-base)
+makedepends=(cmake 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=('0389581fc0128dba983c8fda0deefa558eeea7b96a767ef3694860cae1cfb332')
+
+build() {
+  export PATH="/usr/lib/qt6/bin:$PATH"
+  cmake -B build -S $_pkgfn
+  cmake --build build
+}
+
+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