Date: Thursday, January 5, 2023 @ 10:09:43 Author: arojas Revision: 465647
archrelease: copy trunk to staging-x86_64 Added: qt6-connectivity/repos/staging-x86_64/ qt6-connectivity/repos/staging-x86_64/PKGBUILD (from rev 465646, qt6-connectivity/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: qt6-connectivity/repos/staging-x86_64/PKGBUILD (from rev 465646, qt6-connectivity/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2023-01-05 10:09:43 UTC (rev 465647) @@ -0,0 +1,32 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=qt6-connectivity +_qtver=6.4.2 +pkgver=${_qtver/-/} +pkgrel=1 +arch=(x86_64) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='Provides access to Bluetooth hardware' +depends=(qt6-base bluez-libs pcsclite) +makedepends=(cmake ninja qt6-declarative) +optdepends=('qt6-declarative: QML bindings') +groups=(qt6) +options=(debug) +_pkgfn=${pkgname/6-/}-everywhere-src-$_qtver +source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz) +sha256sums=('8c9b44b239e42b4c4d6fca5f427904e688890b2a1bfb6bcbe5e6e2afcdc5d7af') + +build() { + cmake -B build -S $_pkgfn -G Ninja \ + -DCMAKE_MESSAGE_LOG_LEVEL=STATUS + 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 +}