void-packages/srcpkgs/libkleo/template

25 lines
804 B
Bash

# Template file for 'libkleo'
pkgname=libkleo
version=18.12.2
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules python qt5-qmake qt5-host-tools"
makedepends="kitemmodels-devel kpimtextedit-devel gpgmeqt-devel gpgmepp-devel"
short_desc="KDE PIM cryptographic library"
maintainer="John <johnz@posteo.net>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/applications/${version}/src/libkleo-${version}.tar.xz"
checksum=d88049fd5f4af3c52424ea0c4e01b41bad18cd3eb229bb6ead2a7022d104a60a
libkleo-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"
}
}