void-packages/srcpkgs/kf6-ksvg/template

29 lines
950 B
Bash

# Template file for 'kf6-ksvg'
pkgname=kf6-ksvg
version=6.3.0
revision=2
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
qt6-declarative-host-tools"
makedepends="qt6-declarative-devel qt6-svg-devel kf6-karchive-devel
kf6-kconfig-devel kf6-kcolorscheme-devel kf6-kcoreaddons-devel
kf6-kirigami-devel"
short_desc="Components for handling SVGs"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/ksvg"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=0054ed0c094c605a712bc9f8c8cc61c7e0d3eefe1ee50a93912bbd60a6cb07d7
kf6-ksvg-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}