# Description: Nombreux jeux pour KDE4
# URL: http://www.kde.org
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: alsa-lib, phonon, qca, kdebindings, libarchive, xz-utils, openal, ggz-client-libs, libsndfile
# Run on: kdebase-runtime,ggz-client-libs

name=kdegames
version=4.6.3
release=1
source=( ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2)

build() {
	cd $name-*
	mkdir build
	cd build
	cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
		-DBUILD_doc=OFF \
		-DKDE_DEFAULT_HOME=.kde \
                -DSYSCONF_INSTALL_DIR=/etc/kde \
		-DINSTALL_KAJONGG=TRUE 
	make
	make DESTDIR=$PKG install
}