pkgname=ksvg pkgver=6.1.0 pkgrel=1 pkgdesc="Components for handling SVGs" arch=('x86_64') url="https://community.kde.org/Frameworks" license=('LGPL-2.0-only' 'LGPL-3.0-only') groups=('kf6') depends=('gcc-libs' 'glibc' 'qt6-qtbase' 'qt6-qtsvg' 'karchive' 'kcolorscheme' 'kconfig' 'kcoreaddons' 'kguiaddons') makedepends=('extra-cmake-modules' 'cmake' 'kirigami' 'qt6-qtdeclarative' 'qt6-qttools') source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) sha256sums=(286a8e1ec8678d761960a3cd2b4c0e9dc837ef5e9b6396bc8d76b0feb71b6b5f) build() { cd ${pkgname}-${pkgver} cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBEXECDIR=libexec \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=OFF \ -Wno-dev -Bbuild cmake --build flarebird-build } package() { cd ${pkgname}-${pkgver} DESTDIR=${pkgdir} cmake --install flarebird-build }