void-packages/srcpkgs/kunitconversion/template
2018-08-13 11:30:51 +02:00

24 lines
794 B
Bash

# Template file for 'kunitconversion'
pkgname=kunitconversion
version=5.49.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.1-or-later"
homepage="https://projects.kde.org/projects/frameworks/kunitconversion"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=e938bbb32d7fb69e6dd65772f82e1610e2c38e482db87b891bea6514c4c75686
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"
}
}