# $Id: PKGBUILD 71245 2010-03-05 16:17:11Z jgc $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=libcaca pkgver=0.99.beta17 pkgrel=2 pkgdesc="Color AsCii Art library" arch=('i686' 'x86_64') license=('LGPL') url="http://libcaca.zoy.org/" depends=('imlib2' 'ncurses>=5.7') options=(!libtool !emptydirs) source=(http://libcaca.zoy.org/files/libcaca/${pkgname}-${pkgver}.tar.gz) md5sums=('790d6e26b7950e15909fdbeb23a7ea87') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --mandir=/usr/share/man \ --enable-shared --disable-doc --disable-java \ --disable-cxx --disable-gl --disable-csharp || return 1 make || return 1 } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install || return 1 }