# $Id: PKGBUILD 9776 2008-08-19 00:46:51Z eric $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libcaca
pkgver=0.9
pkgrel=2
pkgdesc="Color AsCii Art library"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://libcaca.zoy.org/"
depends=('freetype2' 'imlib2' 'ncurses>=5.6-7')
source=(http://libcaca.zoy.org/files/libcaca/${pkgname}-${pkgver}.tar.gz)
md5sums=('97b0f526f39491389e159055f574c921')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr --mandir=/usr/share/man --enable-shared --disable-doc
  make || return 1
  make DESTDIR=${startdir}/pkg install
}