void-packages/srcpkgs/ksmtp/template

30 lines
998 B
Bash

# Template file for 'ksmtp'
pkgname=ksmtp
version=24.02.2
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools kf6-kconfig
gettext kf6-kcoreaddons"
makedepends="kmime6-devel kf6-kio-devel"
short_desc="Job-based library to send email through an SMTP server"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/release-service/${version}/src/ksmtp-${version}.tar.xz"
checksum=b522e0e5b7288777ccef5a1550276e782fa4d4de0d4dfd70f3acce4b77783598
make_check=no # XXX: requires smtp server?
ksmtp-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}