upgpkg: sbcl 2.2.9-1
[arch-packages.git] / qt6-5compat / repos / extra-x86_64 / PKGBUILD
blobdf5ebe977affe3e75b446f774bf12dd5b21e59a1
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=qt6-5compat
6 _qtver=6.4.0
7 pkgver=${_qtver/-/}
8 pkgrel=3
9 arch=(x86_64)
10 url='https://www.qt.io'
11 license=(GPL3 LGPL3 FDL custom)
12 pkgdesc='Module that contains unsupported Qt 5 APIs'
13 depends=(qt6-base)
14 makedepends=(cmake ninja qt6-declarative qt6-shadertools)
15 optdepends=('qt6-declarative: for QtGraphicalEffects' 'qt6-shadertools: for QtGraphicalEffects')
16 groups=(qt6)
17 options=(debug)
18 _pkgfn=${pkgname/6-/}-everywhere-src-$_qtver
19 source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
20 sha256sums=('73475d0837f78246d509199f211a35c71fc36cccf64b3de258ebc6387194a4c0')
22 build() {
23   cmake -B build -S $_pkgfn -G Ninja \
24     -DCMAKE_MESSAGE_LOG_LEVEL=STATUS
25   cmake --build build
28 package() {
29   DESTDIR="$pkgdir" cmake --install build
31   install -d "$pkgdir"/usr/share/licenses
32   ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/$pkgname