# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: arjan <arjan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=giblib
pkgver=1.2.4
pkgrel=3
pkgdesc="Giblib is a library that feh uses as a wrapper to imlib2"
depends=('imlib2' 'libxext' 'freetype2')
#source=(http://linuxbrit.co.uk/downloads/$pkgname-$pkgver.tar.gz)
source=(http://ftp.gva.es/mirror/debian/pool/main/g/giblib/giblib_1.2.4.orig.tar.gz)
url="http://linuxbrit.co.uk/giblib/"
 arch=('i686')
build() {
cd $startdir/src/$pkgname-$pkgver.orig
./configure --prefix=/usr
make || return 1
make prefix=$startdir/pkg/usr install
find $startdir/pkg -name '*.la' -exec rm {} \;
}