Date: Monday, November 22, 2021 @ 01:39:11 Author: felixonmars Revision: 428885
archrelease: copy trunk to staging-x86_64 Added: qt6-5compat/repos/staging-x86_64/ qt6-5compat/repos/staging-x86_64/PKGBUILD (from rev 428884, qt6-5compat/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: qt6-5compat/repos/staging-x86_64/PKGBUILD (from rev 428884, qt6-5compat/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2021-11-22 01:39:11 UTC (rev 428885) @@ -0,0 +1,31 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=qt6-5compat +_qtver=6.2.1 +pkgver=${_qtver/-/} +pkgrel=2 +arch=(x86_64) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='Module that contains unsupported Qt 5 APIs' +depends=(qt6-base) +makedepends=(cmake ninja qt6-declarative) +optdepends=('qt6-declarative: for QtGraphicalEffects') +groups=(qt6) +_pkgfn="${pkgname/6-/}-everywhere-src-$_qtver" +source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz) +sha256sums=('3865c031450a3c2616de1e20104ca9470ac5447adf51faa918f8b01a2c425de7') + +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 +}