[arch-commits] Commit in qt6-tools/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Dec 8 11:11:42 UTC 2020


    Date: Tuesday, December 8, 2020 @ 11:11:42
  Author: arojas
Revision: 403100

archrelease: copy trunk to extra-x86_64

Added:
  qt6-tools/repos/extra-x86_64/
  qt6-tools/repos/extra-x86_64/PKGBUILD
    (from rev 403099, qt6-tools/trunk/PKGBUILD)

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

Copied: qt6-tools/repos/extra-x86_64/PKGBUILD (from rev 403099, qt6-tools/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2020-12-08 11:11:42 UTC (rev 403100)
@@ -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-tools
+_qtver=6.0.0
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=(x86_64)
+url='https://www.qt.io'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='A cross-platform application and UI framework (Development Tools, QtHelp)'
+depends=(qt6-base)
+makedepends=(cmake qt6-declarative vulkan-headers clang llvm)
+optdepends=('clang: for qdoc and lupdate')
+groups=(qt6)
+_pkgfn="${pkgname/6-/}-everywhere-src-${_qtver}"
+source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz")
+sha256sums=('b6dc559db447bf394d09dfb238d5c09108f834139a183888179e855c6566bfae')
+
+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/$pkgname
+}



More information about the arch-commits mailing list