PKGBUILDs/extra/libcaca/PKGBUILD
2009-10-09 21:23:22 -05:00

24 lines
725 B
Bash

# $Id: PKGBUILD 33847 2009-04-04 21:47:27Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libcaca
pkgver=0.99.beta16
pkgrel=1
pkgdesc="Color AsCii Art library"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://libcaca.zoy.org/"
depends=('imlib2' 'ncurses>=5.6-7')
options=(!libtool)
source=(http://libcaca.zoy.org/files/libcaca/${pkgname}-${pkgver}.tar.gz)
md5sums=('3953bf4a803747b63a99f50125563151')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --mandir=/usr/share/man \
--enable-shared --disable-doc \
--disable-cxx --disable-gl --disable-csharp || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
rmdir "${pkgdir}/usr/lib/caca-sharp"
}