aboutsummaryrefslogtreecommitdiffstats
path: root/community/babl/APKBUILD
blob: 248d49396723bda77e679cbcbd40c5848724e3f0 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=babl
pkgver=0.1.58
pkgrel=0
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="https://ftp.gimp.org/pub/babl/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"

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

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

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

sha512sums="4747e9432072ab786f096f18fabe307587f307369ca89ec7ece2ae8db59ea8f618a67c6c9ed93a8f21533bd91e00db05653b37b923dfee074d7c4381452324ce  babl-0.1.58.tar.bz2"