aboutsummaryrefslogtreecommitdiffstats
path: root/main/pixman/APKBUILD
blob: d2f450344f8f8edfa40233668c0fdb8748f09b43 (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
33
34
35
36
37
38
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pixman
pkgver=0.32.4
pkgrel=0
pkgdesc="Pixman library"
url="http://xorg.freedesktop.org"
arch="all"
license="custom"
subpackages="$pkgname-dev"
depends=
makedepends="perl"
source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="cdb566504fe9daf6728c7b03cc7ea228  pixman-0.32.4.tar.bz2"
sha256sums="ae2bd664057e330d41b40336ed296d3512318ce7f2401cc42601f2613d371e4c  pixman-0.32.4.tar.bz2"
sha512sums="76c7dd58a4c8ac3b99ab4b6dd4c0d777ad6d8814b0d0b48949846a702a07beccda4c117ec0493b9b5c24004774cf7a40914ddc0535eae4ee2516bfb9ad9eccb2  pixman-0.32.4.tar.bz2"