void-packages/srcpkgs/kf6-kparts/template

26 lines
818 B
Bash

# Template file for 'kf6-kparts'
pkgname=kf6-kparts
version=6.7.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
gettext"
makedepends="kf6-kconfig-devel kf6-kcoreaddons-devel kf6-ki18n-devel
kf6-kio-devel kf6-kxmlgui-devel"
short_desc="KDE Plugin framework for user interface components"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kparts"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=0b1b305050d61fcbefa7026b096dc6b47709d7435c69b18ab56a7e2ea57d759e
kf6-kparts-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}