[arch-commits] Commit in qt6-quickcontrols2/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Tue Jul 6 17:19:34 UTC 2021
Date: Tuesday, July 6, 2021 @ 17:19:33
Author: arojas
Revision: 419034
archrelease: copy kde-unstable to kde-unstable-x86_64
Added:
qt6-quickcontrols2/repos/kde-unstable-x86_64/
qt6-quickcontrols2/repos/kde-unstable-x86_64/PKGBUILD
(from rev 419033, qt6-quickcontrols2/kde-unstable/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: qt6-quickcontrols2/repos/kde-unstable-x86_64/PKGBUILD (from rev 419033, qt6-quickcontrols2/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2021-07-06 17:19:33 UTC (rev 419034)
@@ -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-quickcontrols2
+_qtver=6.2.0-beta1
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=(x86_64)
+url='https://www.qt.io'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='User interface controls based on Qt Quick'
+depends=(qt6-declarative)
+makedepends=(cmake vulkan-headers)
+groups=(qt6)
+_pkgfn="${pkgname/6-/}-everywhere-src-$_qtver"
+source=(https://download.qt.io/development_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
+sha256sums=('12f0607cfbbd14323ae423a9da24cbad7952d1049ca9ebb9194311c304a08d7e')
+
+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