void-packages/srcpkgs/kf6-solid/template

26 lines
777 B
Bash

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