void-packages/srcpkgs/kf6-kparts/template

26 lines
818 B
Bash

# Template file for 'kf6-kparts'
pkgname=kf6-kparts
version=6.1.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=dfca27e3d4fe7fa7038cbad3d3a0a955c570bd73b5bc0aceb3900e071495101d
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"
}
}