pkgname=qt6-qtsvg pkgver=6.7.0 pkgrel=1 pkgdesc="Classes for displaying the contents of SVG files" arch=('x86_64') url="https://www.qt.io" license=('GPL3' 'LGPL3' 'FDL' 'custom') groups=('qt6') depends=('gcc-libs' 'glibc' 'qt6-qtbase' 'zlib') makedepends=('cmake' 'ninja') source=(https://download.qt.io/archive/qt/${pkgver%.*}/${pkgver}/submodules/${pkgname#*-}-everywhere-src-${pkgver}.tar.xz) sha256sums=(1518f40e08ff5e6153a6e26e5b95b033413ac143b70795dc1317e7f73ebf922d) build() { cd ${pkgname#*-}-everywhere-src-${pkgver} cmake -B flarebird-build -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DINSTALL_LIBDIR=lib64 \ -DCMAKE_MESSAGE_LOG_LEVEL=STATUS cmake --build flarebird-build } package() { cd ${pkgname#*-}-everywhere-src-${pkgver} DESTDIR=${pkgdir} cmake --install flarebird-build }