void-packages/srcpkgs/ktnef/template

26 lines
740 B
Bash

# Template file for 'ktnef'
pkgname=ktnef
version=19.08.2
revision=2
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python
kcoreaddons"
makedepends="kcalutils-devel kcontacts-devel"
short_desc="API for handling TNEF data"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/applications/${version}/src/ktnef-${version}.tar.xz"
checksum=d8efabe72eedd5e89f3de9637a1a6d68ce670ec071e031470aa6852f9ad8561d
ktnef-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
vmove "usr/lib/*.so"
}
}