void-packages/srcpkgs/kmbox/template

25 lines
741 B
Bash

# Template file for 'kmbox'
pkgname=kmbox
version=18.08.3
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python"
makedepends="kmime-devel qt5-devel"
short_desc="Library for accessing mail storages in MBox format"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/applications/${version}/src/kmbox-${version}.tar.xz"
checksum=8745a07ff35c9011aee46e2fdfeadc0405389577cec46ea291fdf2a88a279910
kmbox-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"
}
}