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

pkgname=glade3
pkgver=3.8.2
pkgrel=1gv
source=(http://ftp.gnome.org/pub/GNOME/sources/glade3/3.8/glade3-3.8.2.tar.xz)
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------------------------------------------------------|
"glade3 (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 --disable-scrollkeeper --build=$arch-slackware-linux
	make || return 1
	make install DESTDIR=$startdir/pkg
}