[arch-commits] Commit in (3 files)

Antonio Rojas arojas at archlinux.org
Tue Oct 6 18:44:46 UTC 2020


    Date: Tuesday, October 6, 2020 @ 18:44:46
  Author: arojas
Revision: 397431

Initial Qt6 packages

Added:
  qt6-wayland/
  qt6-wayland/kde-unstable/
  qt6-wayland/kde-unstable/PKGBUILD

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

Added: qt6-wayland/kde-unstable/PKGBUILD
===================================================================
--- qt6-wayland/kde-unstable/PKGBUILD	                        (rev 0)
+++ qt6-wayland/kde-unstable/PKGBUILD	2020-10-06 18:44:46 UTC (rev 397431)
@@ -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-wayland
+_qtver=6.0.0-alpha
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=(x86_64)
+url='https://www.qt.io'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Provides APIs for Wayland'
+depends=(qt6-declarative libxcomposite)
+makedepends=(cmake vulkan-headers)
+groups=(qt6)
+_pkgfn="${pkgname/6-/}-everywhere-src-${_qtver}"
+source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz")
+sha256sums=('cdddc443549b7c90ed062ef4b8f64563e91897464f0be22cb121be5c068bd57d')
+
+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