void-packages/srcpkgs/ktnef/template

25 lines
747 B
Bash

# Template file for 'ktnef'
pkgname=ktnef
version=17.12.3
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python"
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="https://download.kde.org/stable/applications/${version}/src/ktnef-${version}.tar.xz"
checksum=96204b8845e1dc1657cbb4c1d203ae3d97c123134ca4588c1d663c83d97a398e
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"
}
}