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

Antonio Rojas arojas at archlinux.org
Tue Jul 6 17:20:04 UTC 2021


    Date: Tuesday, July 6, 2021 @ 17:20:04
  Author: arojas
Revision: 419038

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

Added:
  qt6-sensors/repos/
  qt6-sensors/repos/kde-unstable-x86_64/
  qt6-sensors/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 419037, qt6-sensors/kde-unstable/PKGBUILD)

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

Copied: qt6-sensors/repos/kde-unstable-x86_64/PKGBUILD (from rev 419037, qt6-sensors/kde-unstable/PKGBUILD)
===================================================================
--- repos/kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ repos/kde-unstable-x86_64/PKGBUILD	2021-07-06 17:20:04 UTC (rev 419038)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=qt6-sensors
+_qtver=6.2.0-beta1
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=(x86_64)
+url='https://www.qt.io'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Provides access to sensor hardware and motion gesture recognition'
+depends=(qt6-connectivity)
+makedepends=(cmake qt6-declarative)
+optdepends=('qt6-declarative: QML bindings')
+groups=(qt6)
+_pkgfn="${pkgname/6-/}-everywhere-src-$_qtver"
+source=(https://download.qt.io/development_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
+sha256sums=('214c4f49840d66383703c0c1789ac6ef7b3c343c082d63a7e19fbc424d44cf16')
+
+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