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

Antonio Rojas arojas at archlinux.org
Tue Jul 6 21:00:42 UTC 2021


    Date: Tuesday, July 6, 2021 @ 21:00:41
  Author: arojas
Revision: 419052

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

Added:
  qt6-webview/repos/
  qt6-webview/repos/kde-unstable-x86_64/
  qt6-webview/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 419051, qt6-webview/kde-unstable/PKGBUILD)

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

Copied: qt6-webview/repos/kde-unstable-x86_64/PKGBUILD (from rev 419051, qt6-webview/kde-unstable/PKGBUILD)
===================================================================
--- repos/kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ repos/kde-unstable-x86_64/PKGBUILD	2021-07-06 21:00:41 UTC (rev 419052)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=qt6-webview
+_qtver=6.2.0-beta1
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=(x86_64)
+url='https://www.qt.io'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Provides a way to display web content in a QML application'
+depends=(qt6-webengine)
+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=('db3eecabea6d05926e87b727946a6a37745c534bb9d1198e774be79d325f326e')
+
+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