[arch-commits] Commit in qt6-declarative (3 files)

Antonio Rojas arojas at archlinux.org
Tue Oct 6 17:18:25 UTC 2020


    Date: Tuesday, October 6, 2020 @ 17:18:24
  Author: arojas
Revision: 397401

archrelease: copy kde-unstable to kde-unstable-x86_64

Added:
  qt6-declarative/repos/
  qt6-declarative/repos/kde-unstable-x86_64/
  qt6-declarative/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 397400, qt6-declarative/kde-unstable/PKGBUILD)

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

Copied: qt6-declarative/repos/kde-unstable-x86_64/PKGBUILD (from rev 397400, qt6-declarative/kde-unstable/PKGBUILD)
===================================================================
--- repos/kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ repos/kde-unstable-x86_64/PKGBUILD	2020-10-06 17:18:24 UTC (rev 397401)
@@ -0,0 +1,37 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qt6-declarative
+_qtver=6.0.0-alpha
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=(x86_64)
+url='https://www.qt.io'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for QML and JavaScript languages'
+depends=(qt6-base)
+makedepends=(cmake python vulkan-headers at-spi2-core)
+groups=(qt6)
+source=(git+https://code.qt.io/qt/qtdeclarative.git#branch=dev)
+sha256sums=('0f72a753fd61e49572a1aa4a6e3bfe9e68461ad82320ac978d61b5ff9b8d27f0')
+_pkgfn="${pkgname/6-/}-everywhere-src-${_qtver}"
+source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz")
+
+build() {
+  cmake -B build -S $_pkgfn
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+
+# Symlinks for backwards compatibility
+  mkdir "$pkgdir"/usr/bin
+  for b in "${pkgdir}"/usr/lib/qt6/bin/*; do
+    ln -rs "$pkgdir"/usr/lib/qt6/bin/$(basename $b) "$pkgdir"/usr/bin/$(basename $b)-qt6
+  done
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/qt6-declarative
+}



More information about the arch-commits mailing list