#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=gtk-engines
pkgver=2.20.2
pkgrel=1rl
source=("ftp://ftp.gnome.org/pub/gnome/sources/gtk-engines/2.20/gtk-engines-2.20.2.tar.bz2" "clearlooks-animation.patch")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"gtk-engines (gtk+2 engines and default themes)"
"The gtk-engines package includes gtk+2 engines and themes like"
"clearlooks, mist, crux, thin ice etc"
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	patch -p1 <../clearlooks-animation.patch
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static --enable-animation  --build=$arch-slackware-linux
	make || return 1
	make install DESTDIR=$startdir/pkg
}