void-packages/srcpkgs/kf6-solid/template

26 lines
777 B
Bash

# Template file for 'kf6-solid'
pkgname=kf6-solid
version=6.7.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=3673f17776c30d9523fe40b8f38e62be1037610050f782c136da1ac04b20e6e7
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"
}
}