void-packages/srcpkgs/kf6-kunitconversion/template

25 lines
760 B
Bash

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