void-packages/srcpkgs/libkdegames/template

28 lines
893 B
Bash

# Template file for 'libkdegames'
pkgname=libkdegames
version=21.04.1
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=a4efc0caf9ad877b3c01c83c69e9b3240aeda6ab14332db06e2da9f6660b4c93
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"
}
}