void-packages/srcpkgs/kf6-kunitconversion/template

25 lines
760 B
Bash

# Template file for 'kf6-kunitconversion'
pkgname=kf6-kunitconversion
version=6.6.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
gettext"
makedepends="kf6-ki18n-devel"
short_desc="KDE Converting physical units"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kunitconversion"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=a874f093a3e64f08d1d37e1142e17d78a112b613ece5cfa1f747dd1d26789f91
kf6-kunitconversion-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}