void-packages/srcpkgs/akonadi-mime/template

29 lines
908 B
Bash
Raw Normal View History

2018-03-11 17:43:31 +01:00
# Template file for 'akonadi-mime'
pkgname=akonadi-mime
2018-03-18 13:38:55 +01:00
version=17.12.3
2018-03-11 17:43:31 +01:00
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules kdoctools python3"
makedepends="kmime-devel akonadi5-devel"
short_desc="Libraries and daemons to implement basic email handling"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later GPL-2-or-later"
homepage="https://community.kde.org/KDE_PIM/Akonadi"
distfiles="https://download.kde.org/stable/applications/${version}/src/akonadi-mime-${version}.tar.xz"
2018-03-18 13:38:55 +01:00
checksum=42ee14fffe4b9c411cbbc55ea598755f449cd03ce90281ab99e25275cfe80458
2018-03-11 17:43:31 +01:00
if [ "$CROSS_BUILD" ];then
hostmakedepends+=" qt5-qmake qt5-host-tools kconfig"
fi
akonadi-mime-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}