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

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


    Date: Tuesday, July 6, 2021 @ 17:17:10
  Author: arojas
Revision: 419020

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

Added:
  qt6-serialport/repos/
  qt6-serialport/repos/kde-unstable-x86_64/
  qt6-serialport/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 419019, qt6-serialport/kde-unstable/PKGBUILD)

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

Copied: qt6-serialport/repos/kde-unstable-x86_64/PKGBUILD (from rev 419019, qt6-serialport/kde-unstable/PKGBUILD)
===================================================================
--- repos/kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ repos/kde-unstable-x86_64/PKGBUILD	2021-07-06 17:17:10 UTC (rev 419020)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=qt6-serialport
+_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 hardware and virtual serial ports'
+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=('c1f4a871ebc57f69bc980a7c4d9b1225a94065174fb4a2be7f3739ca46927fa2')
+
+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