void-packages/srcpkgs/mailimporter/template

26 lines
795 B
Bash

# Template file for 'mailimporter'
pkgname=mailimporter
version=21.04.3
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules kcoreaddons qt5-qmake qt5-host-tools python3
gettext"
makedepends="libkdepim-devel pimcommon-devel"
short_desc="Mail importer library"
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/mailimporter-${version}.tar.xz"
checksum=ffc7cc1b1ef99f3aefe7cc3d6e6a9a185a38c39ca41fed5de5c0dc76cde29c0c
mailimporter-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"
}
}