void-packages/srcpkgs/libksieve/template

26 lines
907 B
Bash

# Template file for 'libksieve'
pkgname=libksieve
version=17.12.3
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python kdoctools"
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 <johnz@posteo.net>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="https://download.kde.org/stable/applications/${version}/src/libksieve-${version}.tar.xz"
checksum=631091d0a931d4fdfaf66c5331f10a7b2f8e9edbc1805fb8d5aeb42eb85be1b2
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"
}
}