# Template file for 'libkgapi'
pkgname=libkgapi
version=2.1.1
revision=1
build_style=cmake
hostmakedepends="cmake automoc4 pkg-config"
makedepends="boost-devel qt-devel phonon-devel kdelibs-devel kdepimlibs-devel qjson-devel"
short_desc="A KDE-based library for accessing various Google services via their public API"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL, LGPL, FDL"
homepage="https://projects.kde.org/projects/extragear/libs/libkgapi"
distfiles="http://download.kde.org/stable/${pkgname}/${version}/src/${pkgname}-${version}.tar.bz2"
checksum=2d7dcaf5033acac381ea456b7320784898617cdc502587313bd8b653855d02cb

libkgapi-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}-${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}
