OCaml 4.14.0 rebuild: ocaml-ctypes 0.20.1-1
[arch-packages.git] / libcaca / trunk / PKGBUILD
blob98be7421a883e58406643ddbaf6ef548dca56e45
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
4 pkgname=libcaca
5 pkgver=0.99.beta20
6 pkgrel=1
7 pkgdesc="Color AsCii Art library"
8 url="http://caca.zoy.org/wiki/libcaca"
9 arch=(x86_64)
10 license=(custom:WTFPL)
11 depends=(imlib2 ncurses)
12 makedepends=(git)
13 _commit=373c88b9890e67bde91e6acb8f1c442e847d1203
14 source=("git+https://github.com/cacalabs/libcaca#commit=$_commit")
15 sha256sums=('SKIP')
17 pkgver() {
18   cd libcaca
19   git describe --tags | sed 's/^v//;s/-/+/g'
22 prepare() {
23   cd libcaca
24   autoreconf -fvi
27 build() {
28   cd libcaca
29   ./configure \
30     --prefix=/usr \
31     --libexecdir=/usr/lib \
32     --mandir=/usr/share/man \
33     --enable-shared \
34     --disable-csharp \
35     --disable-cxx \
36     --disable-doc \
37     --disable-gl \
38     --disable-python \
39     --disable-slang \
40     --disable-static
41   make
44 package() {
45   cd libcaca
46   make DESTDIR="$pkgdir" install
47   install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING
50 # vim:set sw=2 et: