void-packages/srcpkgs/kmime/template
2019-09-06 18:16:23 +02:00

28 lines
804 B
Bash

# Template file for 'kmime'
pkgname=kmime
version=19.08.1
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules python3"
makedepends="kcodecs-devel ki18n-devel"
short_desc="Library for handling mail messages and newsgroup articles"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/applications/${version}/src/kmime-${version}.tar.xz"
checksum=e8693458734f11a9d33a4d761f2b5ccae8f9ed87bb1e9dfc97f4bd0fa7089557
if [ "CROSS_BUILD" ];then
hostmakedepends+=" qt5-qmake qt5-host-tools"
fi
kmime-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"
}
}