void-packages/srcpkgs/libksieve/template

27 lines
922 B
Bash

# Template file for 'libksieve'
pkgname=libksieve
version=20.12.2
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python3
gettext kcoreaddons kdoctools kconfig"
makedepends="kidentitymanagement-devel kmailtransport-devel pimcommon-devel
qt5-webengine-devel qt5-webchannel-devel qt5-location-devel"
short_desc="KDE PIM library for managing sieves"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/release-service/${version}/src/libksieve-${version}.tar.xz"
checksum=72605f5fc2786b28df98b676b27236096211b4c130adb1a31ea56bc22e834c66
libksieve-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
vmove "usr/lib/*.so"
}
}