void-packages/srcpkgs/kunitconversion/template

25 lines
800 B
Bash

# Template file for 'kunitconversion'
pkgname=kunitconversion
version=5.43.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-host-tools ki18n-devel"
makedepends="qt5-devel ki18n-devel"
short_desc="KDE Converting physical units"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kunitconversion"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=0d437d1b08a87e84b2a24bacc9adf2d7b9f3d259b503727454aa2ebf13735e93
kunitconversion-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove usr/lib/*.so
}
}