void-packages/srcpkgs/kunitconversion/template
2019-11-10 15:29:26 +01:00

24 lines
794 B
Bash

# Template file for 'kunitconversion'
pkgname=kunitconversion
version=5.64.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules qt5-host-tools ki18n-devel"
makedepends="qt5-devel ki18n-devel"
short_desc="KDE Converting physical units"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/frameworks/kunitconversion"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=6783d6180b132a80dce2a4cc6c793dae0f5859b0709207c5fc6f4501ef53a822
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"
}
}