void-packages/srcpkgs/akonadi-notes/template

30 lines
876 B
Bash

# Template file for 'akonadi-notes'
pkgname=akonadi-notes
version=19.04.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules python qt5-qmake qt5-host-tools
kcoreaddons"
makedepends="kmime-devel akonadi5-devel"
short_desc="Libraries and daemons to implement notes management in Akonadi"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later, GPL-2.0-or-later, BSD-2-Clause"
homepage="https://kontact.kde.org"
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname}-${version}.tar.xz"
checksum=a9aa05ca2b5f846fed51e4c32907eedc6893a40ab3b9d4832e11bab118664e5f
post_install() {
vlicense COPYING.BSD COPYING.BSD
}
akonadi-notes-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"
}
}