summaryrefslogtreecommitdiffstats
path: root/abs/core/libcaca/PKGBUILD
blob: 4d436ebfe35722b04b39da1ffddfd5baf95d3b88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libcaca
pkgver=0.99.beta19
pkgrel=1
pkgdesc="Color AsCii Art library"
arch=('x86_64')
license=('custom:WTFPL')
url="http://caca.zoy.org/wiki/libcaca"
depends=('imlib2' 'ncurses')
options=(!emptydirs)
source=(http://libcaca.zoy.org/files/libcaca/${pkgname}-${pkgver}.tar.gz)
md5sums=('a3d4441cdef488099f4a92f4c6c1da00')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --mandir=/usr/share/man \
    --enable-shared --disable-doc  --disable-java \
    --disable-cxx --disable-gl --disable-csharp --disable-static
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/libcaca/COPYING"
}