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

pkgname=glade3
pkgver=3.6.6
pkgrel=1gv
arch=i486
source=(http://ftp.gnome.org/pub/GNOME/sources/glade3/3.6/glade3-3.6.6.tar.bz2)
sourcetemplate=http://pnboy.pinguix.com/gapan/$arch/$pkgname
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")

doinst() {
if [ -x usr/bin/scrollkeeper-update ]; then
        usr/bin/scrollkeeper-update > /dev/null 2>&1
fi
}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname - a GUI builder for GTK+"
"Glade is a GUI builder for GTK+ enabling quick & easy development of"
"user interfaces for the GTK+ toolkit and the Gnome desktop"
"environment. It also contains built-in support for generating the C"
"source code needed to recreate the interfaces.  The user interfaces"
"designed in Glade are stored in the well-known XML format, enabling"
"easy integration with external tools."
)

build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --enable-static=no --enable-autoconnect=yes --disable-scrollkeeper 

	make || return 1
	make install DESTDIR=$startdir/pkg
}