# Description: Permet changement apparence des applis gkt sous kda4
# URL: http://kde-look.org/content/show.php?content=74689
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: cmake, gtk-engines, kdelibs
# Run on: gtk-engines

name=gtk-kde4
version=0.9.5b
release=2

source=("http://kde-apps.org/CONTENT/content-files/74689-gtk-kde4(src)0.9.5.tar.gz" \
	gtk-kde4-fix-permission.patch)

build() {
        cd $name
	patch -p1 -i ../gtk-kde4-fix-permission.patch

	cmake -DCMAKE_INSTALL_PREFIX=/usr \
	      -DCMAKE_BUILD_TYPE=Release
	make
	make DESTDIR=$PKG install
	rm $PKG/etc/xdg/autostart/$name.desktop
}