void-packages/srcpkgs/ksmtp/template

26 lines
758 B
Bash

# Template file for 'ksmtp'
pkgname=ksmtp
version=19.04.2
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python
kcoreaddons"
makedepends="kmime-devel kio-devel"
short_desc="Job-based library to send email through an SMTP server"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/applications/${version}/src/ksmtp-${version}.tar.xz"
checksum=aef6b59789a5ab1525c9e3974c0e117192c4f2659a0b16f8304573b442f2eda2
ksmtp-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"
}
}