summaryrefslogtreecommitdiff
path: root/extra/libcaca/PKGBUILD
blob: d937e8dc57325bf72631eefde23be149d0eda2e8 (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
# $Id: PKGBUILD 150463 2012-02-18 00:19:31Z allan $
# 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')
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-cxx --disable-gl --disable-csharp
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}