void-packages/srcpkgs/mailcommon/template

26 lines
865 B
Bash

# Template file for 'mailcommon'
pkgname=mailcommon
version=18.08.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python"
makedepends="mailimporter-devel messagelib-devel kdesignerplugin-devel
pimcommon-devel libkleo-devel"
short_desc="KDE PIM library providing support for mail applications"
maintainer="John <johnz@posteo.net>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/applications/${version}/src/mailcommon-${version}.tar.xz"
checksum=ed954abcf81f5863fe5a96f1feef8086b306d7d71baeca54b56f2f6ec430461a
mailcommon-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedpends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
vmove "usr/lib/*.so"
}
}