# Description: Programme de base de KDE4
# URL: http://www.kde.org
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: cmake, automoc4, kdelibs, kdepimlibs, kdebase-runtime, docbook-xsl, shared-desktop-ontologies,  qimageblitz, strigi, polkit-kde, oxygen-icons, libvorbis, libogg, audiofile, alsa-utils, udisks, upower

# Run on: shared-mime-info,kdelibs,kdebase-runtime,kdebase-workspace,libvorbis,libogg,audiofile,alsa-utils,oxygen-icons

name=kdebase
version=4.6.2
release=3
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 \
		-DCMAKE_BUILD_TYPE=Release \
		-DKDE_DEFAULT_HOME=.kde \
		-DSYSCONF_INSTALL_DIR=/etc/kde \
		-DCMAKE_SKIP_RPATH=ON
	make 
	make DESTDIR=$PKG install
}