void-packages/srcpkgs/mailimporter/template

26 lines
795 B
Bash

# Template file for 'mailimporter'
pkgname=mailimporter
version=20.12.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=d67af2f3f62ccf934b4c23982750c05e70bbc144bea231eba560278363de73d2
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"
}
}