void-packages/srcpkgs/kimap/template

25 lines
783 B
Bash

# Template file for 'kimap'
pkgname=kimap
version=17.12.3
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python"
makedepends="kio-devel kmime-devel"
short_desc="Job-based API for interacting with IMAP servers"
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/kimap-${version}.tar.xz"
checksum=bcef96e368649ef0abc0fde37ef0dbf8a53801c4470b520eade3e8009ca531df
kimap-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove usr/lib/*.so
}
}