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

Antonio Rojas arojas at archlinux.org
Tue Oct 6 18:48:12 UTC 2020


    Date: Tuesday, October 6, 2020 @ 18:48:12
  Author: arojas
Revision: 397434

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

Added:
  qt6-5compat/repos/
  qt6-5compat/repos/kde-unstable-x86_64/
  qt6-5compat/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 397433, qt6-5compat/kde-unstable/PKGBUILD)

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

Copied: qt6-5compat/repos/kde-unstable-x86_64/PKGBUILD (from rev 397433, qt6-5compat/kde-unstable/PKGBUILD)
===================================================================
--- repos/kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ repos/kde-unstable-x86_64/PKGBUILD	2020-10-06 18:48:12 UTC (rev 397434)
@@ -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