#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com)

pkgname=gnome-desktop
pkgver=2.24.3
pkgrel=1gv
arch=i486
source=("http://ftp.acc.umu.se/pub/GNOME/sources/gnome-desktop/2.24/gnome-desktop-2.24.3.tar.bz2")
docs=("readme" "install" "copying*" "changelog" "authors" "news" "todo" "hacking" "maintainers")
url=www.gnome.org
options=('noautodotnew')

doinst() {
# Update the scrollkeeper database (Remove stale pieces)
if [ -x usr/bin/scrollkeeper-update ]; then
        usr/bin/scrollkeeper-update > /dev/null 2>&1
fi
}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"gnome-desktop - common files for gnome and gnome applications"
"The gnome-desktop package includes common files needed for GNOME 2"
"desktop apps (Pixmaps, .desktop files and internationalization files)."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --mandir=/usr/man --disable-scrollkeeper --with-omf-dir=/usr/share/omf --with-gnome-distributor=Salix --disable-static
	make || return 1
	make install DESTDIR=$startdir/pkg
	
	rm -rf $startdir/pkg/usr/share/gtk-doc
	rm -rf $startdir/pkg/usr/share/gnome
	rm -rf $startdir/pkg/usr/share/omf
}
