[arch-commits] Commit in (3 files)
Antonio Rojas
arojas at archlinux.org
Tue Jul 6 20:59:01 UTC 2021
Date: Tuesday, July 6, 2021 @ 20:59:00
Author: arojas
Revision: 419050
Qt 6.2 beta 1
Added:
qt6-webview/
qt6-webview/kde-unstable/
qt6-webview/kde-unstable/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Added: qt6-webview/kde-unstable/PKGBUILD
===================================================================
--- qt6-webview/kde-unstable/PKGBUILD (rev 0)
+++ qt6-webview/kde-unstable/PKGBUILD 2021-07-06 20:59:00 UTC (rev 419050)
@@ -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