Date: Tuesday, June 14, 2022 @ 17:43:39 Author: arojas Revision: 448643
archrelease: copy trunk to testing-x86_64 Added: qt6-shadertools/repos/testing-x86_64/ qt6-shadertools/repos/testing-x86_64/PKGBUILD (from rev 448642, qt6-shadertools/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: qt6-shadertools/repos/testing-x86_64/PKGBUILD (from rev 448642, qt6-shadertools/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2022-06-14 17:43:39 UTC (rev 448643) @@ -0,0 +1,31 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=qt6-shadertools +_qtver=6.3.1 +pkgver=${_qtver/-/} +pkgrel=1 +arch=(x86_64) +url='https://www.qt.io' +license=(GPL3) +pkgdesc='Provides functionality for the shader pipeline that allows Qt Quick to operate on Vulkan, Metal, and Direct3D, in addition to OpenGL' +depends=(qt6-base) +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=('59b77176961528cc7b0c9325134655e273aa87b4cb386c0f4683d8f2852e435a') + +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 +}