# Description: programmes pour gérer les utilisateurs, initialisation de fichiers, programateur de taches, et connections réseaux pour KDE
# URL: http://www.kde.org
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: kdelibs, kdebase-runtime, kdepimlibs, pycups, pyqt

name=kdeadmin
version=4.4.81svn1131245
release=1
#source=( ftp://ftp.kde.org/pub/kde/unstable/$version/src/$name-$version.tar.bz2\
source=(ftp://ftp.kde.org/pub/kde/unstable/4.4.81/src/$name-4.4.81svn1131245.tar.bz2\
	nutyx-2008.patch)
build() {
	cd $name-$version
#	patch -Np1 -i ../nutyx-2008.patch
	sed -i "/kpackage/d" CMakeLists.txt
	mkdir build
	cd build
	cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
	-Dscriptsdir=/usr/share/apps/knetworkconf/backends \
	-DBUILD_doc=OFF
	make -j3
	make DESTDIR=$PKG install
}