void-packages/srcpkgs/mailimporter/template

26 lines
795 B
Bash

# Template file for 'mailimporter'
pkgname=mailimporter
version=22.04.1
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=866c77c85dbae71f7c6a3bac43d8fd19f1865155955a936660f7ba14d7a3f39d
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"
}
}