Date: Tuesday, June 14, 2022 @ 17:56:30 Author: arojas Revision: 448678
archrelease: copy trunk to testing-x86_64 Added: qt6-wayland/repos/testing-x86_64/ qt6-wayland/repos/testing-x86_64/PKGBUILD (from rev 448677, qt6-wayland/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: qt6-wayland/repos/testing-x86_64/PKGBUILD (from rev 448677, qt6-wayland/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2022-06-14 17:56:30 UTC (rev 448678) @@ -0,0 +1,31 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=qt6-wayland +_qtver=6.3.1 +pkgver=${_qtver/-/} +pkgrel=1 +arch=(x86_64) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='Provides APIs for Wayland' +depends=(qt6-declarative libxcomposite) +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=('6f14fea2d172a5b4170be3efcb0e58535f6605b61bcd823f6d5c9d165bb8c0f0') + +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 +}