aboutsummaryrefslogtreecommitdiffstats
path: root/community/babl/APKBUILD
blob: d46269c3d78c7f3a9b007ea90f1db508433067a9 (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
29
30
31
32
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=babl
pkgver=0.1.36
pkgrel=1
pkgdesc="Dynamic, any to any, pixel format conversion library"
url="http://gegl.org/babl/"
arch="all"
license="LGPL-3.0-or-later"
subpackages="$pkgname-dev"
source="http://ftp.gimp.org/pub/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"

builddir="$srcdir/$pkgname-$pkgver"
build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="aec9df9fb718a693c3a4e027d34cab4bd02fa8b0d24fc47653dd91e140394b7cc5b8aea32192ec0ed664358c430fad2ec0868737abe6e55e91a02123f1764766  babl-0.1.36.tar.bz2"