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

pkgname=libgnomeui
pkgver=2.24.5
pkgrel=1rl
source=("ftp://ftp.gnome.org/pub/gnome/sources/libgnomeui/2.24/libgnomeui-$pkgver.tar.bz2")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=ftp://ftp.gnome.org/pub/gnome/sources/libgnomeui

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libgnomeui (The GNOME 2 user interface libraries)"
"This package contains the shared library for the base GNOME library"
"functions (User Interface functions)."
)


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

	# we don't really need these
	rm -rf $startdir/pkg/usr/share/gtk-doc
}