[arch-commits] Commit in (3 files)

Antonio Rojas arojas at archlinux.org
Tue Oct 6 18:47:58 UTC 2020


    Date: Tuesday, October 6, 2020 @ 18:47:58
  Author: arojas
Revision: 397433

Initial Qt6 packages

Added:
  qt6-5compat/
  qt6-5compat/kde-unstable/
  qt6-5compat/kde-unstable/PKGBUILD

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

Added: qt6-5compat/kde-unstable/PKGBUILD
===================================================================
--- qt6-5compat/kde-unstable/PKGBUILD	                        (rev 0)
+++ qt6-5compat/kde-unstable/PKGBUILD	2020-10-06 18:47:58 UTC (rev 397433)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qt6-5compat
+_qtver=6.0.0-alpha
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=(x86_64)
+url='https://www.qt.io'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Module that contains unsupported Qt 5 APIs'
+depends=(qt6-base)
+makedepends=(cmake)
+groups=(qt6)
+_pkgfn="${pkgname/6-/}-everywhere-src-${_qtver}"
+source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz")
+sha256sums=('e0d2fbfeaf40e2e00b5b124f50b5887ef09f471030536869e3e31c38b8f9e00a')
+
+build() {
+  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