void-packages/srcpkgs/libkgapi/template

26 lines
905 B
Bash

# Template file for 'libkgapi'
pkgname=libkgapi
version=17.12.3
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-qmake python3"
makedepends="kcalcore-devel kcontacts-devel kio-devel qt5-webengine-devel
qt5-webchannel-devel qt5-location-devel"
short_desc="KDE-based library for accessing various Google services"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/extragear/libs/libkgapi"
distfiles="http://download.kde.org/stable/applications/${version}/src/${pkgname}-${version}.tar.xz"
checksum=3e5cd703c66f870853a98d524efa132662f1e3005341e00620b2b0e9080daf04
libkgapi-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision} ${makedepends}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
vmove "usr/lib/*.so"
}
}