aboutsummaryrefslogtreecommitdiffstats
path: root/community/libcaca/APKBUILD
blob: c0104d28a417924c89204da46bc888a3fad88530 (plain) (blame)
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
29
30
# Contributor: z3bra <willy at mailoo dot org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libcaca
pkgver=0.99_beta19
_ver=${pkgver/_/.}
pkgrel=2
pkgdesc="graphics library that outputs text instead of pixels"
url="http://caca.zoy.org/wiki/libcaca"
arch="all"
license="WTFPL"
depends_dev="imlib2-dev"
makedepends="$depends_dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://caca.zoy.org/files/$pkgname/$pkgname-$_ver.tar.gz"

builddir="$srcdir"/libcaca-${_ver}

build() {
	cd "$builddir"
	./configure --prefix=/usr
	make
}

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

sha512sums="780fc7684d40207cc10df3f87d6d8f1d47ddfffa0e76e41a5ce671b82d5c7f090facb054c3d49ca7c4ea1a619625bb9085ce52f837f50792b4a2d776a4c68e15  libcaca-0.99.beta19.tar.gz"