28 lines
891 B
Bash
28 lines
891 B
Bash
# Template file for 'akonadi-mime'
|
|
pkgname=akonadi-mime
|
|
version=18.12.2
|
|
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.0-or-later"
|
|
homepage="https://community.kde.org/KDE_PIM/Akonadi"
|
|
distfiles="${KDE_SITE}/applications/${version}/src/akonadi-mime-${version}.tar.xz"
|
|
checksum=251dbf09ca7972201182d69ca94649cd541d5e7972c9fd675319bb5b850efc6a
|
|
|
|
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"
|
|
}
|
|
}
|