void-packages/srcpkgs/kf6-kirigami/template

28 lines
945 B
Bash

# Template file for 'kf6-kirigami'
pkgname=kf6-kirigami
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-shadertools
qt6-declarative-host-tools"
makedepends="qt6-declarative-private-devel qt6-shadertools-devel qt6-svg-devel
qt6-base-private-devel"
short_desc="QtQuick based components set"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kirigami"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=dbcbfaa05b37c03501fe8f4dfaf92f6f7bf9b871b8d28897363a5678dcb2395b
kf6-kirigami-devel_package() {
depends="${makedepends//private-} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}