void-packages/srcpkgs/pimcommon/template

27 lines
1014 B
Bash

# Template file for 'pimcommon'
pkgname=pimcommon
version=17.12.3
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python"
makedepends="karchive-devel kcodecs-devel ki18n-devel kdbusaddons-devel knewstuff-devel
kconfig-devel kiconthemes-devel kjobwidgets-devel kpimtextedit-devel akonadi-contacts-devel
kxmlgui-devel kservice-devel kdesignerplugin-devel kimap-devel libkdepim-devel"
short_desc="Common libraries for KDE PIM"
maintainer="John <johnz@posteo.net>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="https://download.kde.org/stable/applications/${version}/src/pimcommon-${version}.tar.xz"
checksum=78c6194295b97d3759388d19cba12937a02b639d7f68ff78c3c565c3a9435bf9
pimcommon-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"
}
}