void-packages/srcpkgs/kf6-solid/template

26 lines
777 B
Bash

# Template file for 'kf6-solid'
pkgname=kf6-solid
version=6.2.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base flex"
makedepends="qt6-base-devel"
depends="upower udisks2 media-player-info"
short_desc="Hardware integration and detection"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/solid"
#changelog=""
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=002a0d2b27599bebc721516681d327876962fdcaf9940f033634fb93a4f9d722
kf6-solid-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}