# Template file for 'libkdegames'
pkgname=libkdegames
version=18.08.2
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules pkg-config qt5-qmake qt5-host-tools kdoctools"
makedepends="qt5-svg-devel knewstuff-devel kdnssd-devel kdeclarative-devel libopenal-devel libsndfile-devel"
short_desc="Common code and data for many KDE games"
maintainer="1is7ac3 <isaac.qa13@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://www.kde.org/applications/games/"
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname}-${version}.tar.xz"
checksum=250463ce73d3a2e5f33bab758491fad09125d121230659cfa6c8968bb4855a6f

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

