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

pkgname=libgnomecanvas
pkgver=2.26.0
pkgrel=1gv
arch=i486
source=(http://ftp.gnome.org/pub/GNOME/sources/libgnomecanvas/2.26/libgnomecanvas-2.26.0.tar.bz2)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers")
url=www.gnome.org
sourcetemplate=http://pnboy.pinguix.com/gapan/$arch/gnome/$pkgname
options=('noautodotnew')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libgnomecanvas - A powerful object-oriented display"
"The canvas widget is a powerful and extensible object-oriented display"
"engine. A GnomeCanvasItem is a GtkObject representing some element of"
"the display, such as an image, a rectangle, an ellipse, or some text."
"You can refer to this architecture as structured graphics; the canvas"
"lets you deal with graphics in terms of items, rather than an"
"undifferentiated grid of pixels. "
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --localstatedir=/var/lib --sysconfdir=/etc --disable-static
	make || return 1
	make install DESTDIR=$startdir/pkg

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