# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=kde-games
pkgver=17.08.2
pkgrel=0
pkgdesc="All the KDE games"
url="https://www.kde.org/applications/games/"
arch="noarch"
license="NCSA"
options="!check"  # Metapackage, no tests needed.
depends="kapman katomic kblackbox kblocks kbounce kbreakout kdiamond
	kfourinline kgoldrunner kigo killbots kiriki kjumpingcube klickety
	klines kmahjongg kmines knetwalk kollision konquest kpat kreversi
	kshisen ksnakeduel ksquares ksudoku kteatime ktuberling kubrick
	lskat xdg-utils"
makedepends=""
install=""
subpackages=""
source="https://distfiles.adelielinux.org/source/meta/kde-games-$pkgver.tar.xz"
builddir="$srcdir/kde-games-$pkgver"

build() {
	cd "$builddir"
}

package() {
	cd "$builddir"
	install -D -m644 "$builddir"/org.adelie-linux.about-games.desktop \
		"$pkgdir"/usr/share/applications/org.adelie-linux.about-games.desktop
}

sha512sums="55f98ad2a1c539feedcd96961e87f2d5b0d60a0f8eadbdc16a3cbd137cf0a2ca586e179c4c00b50eba3619a30d63d3a265f4e3a6beaf5f37a8847fb6c0caa723  kde-games-17.08.2.tar.xz"