#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=giblib
pkgver=1.2.4
pkgrel=1gv
arch=i486
source=(http://linuxbrit.co.uk/downloads/giblib-$pkgver.tar.gz)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"giblib (a simple library which wraps imlib2)"
"giblib provides a wrapper to imlib2's context API, avoiding all the"
"context_get/set calls, adds fontstyles to the truetype renderer and"
"supplies a generic doubly-linked list and some string functions."
)


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