void-packages/srcpkgs/libkdegames/template

28 lines
893 B
Bash

# Template file for 'libkdegames'
pkgname=libkdegames
version=21.04.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules pkg-config qt5-qmake qt5-host-tools
kcoreaddons kdoctools gettext"
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="Piotr Wójcik <chocimier@tlen.pl>"
license="GPL-2.0-or-later"
homepage="https://kde.org/applications/games"
distfiles="${KDE_SITE}/release-service/${version}/src/libkdegames-${version}.tar.xz"
checksum=4766ce2c73a17b05a7a79c326edaa2c29718719218f48d7ea7543f31f02415e0
pre_check() {
export QT_QPA_PLATFORM=offscreen
}
libkdegames-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}