void-packages/srcpkgs/kmime/template

29 lines
824 B
Bash
Raw Normal View History

2018-03-11 16:29:17 +00:00
# Template file for 'kmime'
pkgname=kmime
2018-03-18 12:46:22 +00:00
version=17.12.3
2018-03-11 16:29:17 +00:00
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="https://download.kde.org/stable/applications/${version}/src/kmime-${version}.tar.xz"
2018-03-18 12:46:22 +00:00
checksum=9525d5069191a4696aab417ce480851dc0736b0882893331e4f6b286f4d7a108
2018-03-11 16:29:17 +00:00
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"
}
}