Date: Friday, March 18, 2022 @ 11:38:30 Author: arojas Revision: 439916
archrelease: copy trunk to testing-x86_64 Added: qt6-serialbus/repos/testing-x86_64/ qt6-serialbus/repos/testing-x86_64/PKGBUILD (from rev 439915, qt6-serialbus/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: qt6-serialbus/repos/testing-x86_64/PKGBUILD (from rev 439915, qt6-serialbus/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2022-03-18 11:38:30 UTC (rev 439916) @@ -0,0 +1,30 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=qt6-serialbus +_qtver=6.2.4 +pkgver=${_qtver/-/} +pkgrel=1 +arch=(x86_64) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='Qt module for general purpose serial bus access' +depends=(qt6-serialport) +makedepends=(cmake ninja) +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=('33c15752f8e7f99cc49b9d3bf9eabd857bfcd649e37ada8bffceedc5a66a8a64') + +build() { + cmake -B build -S $_pkgfn -G Ninja + 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 +}