aboutsummaryrefslogtreecommitdiffstats
path: root/main/pixman/APKBUILD
blob: 0c0bc912ccf0e67d310b815ccca10a04fca23d73 (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=pixman
pkgver=0.30.2
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"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./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="2d0588e20dc1308b29b2fca68dad9a9c  pixman-0.30.2.tar.bz2"
sha256sums="4fbb51788fe7cbd8abb5f80aed95ec878704e57a06328f7bebe0306e3822c96c  pixman-0.30.2.tar.bz2"
sha512sums="3b883b230c506648433af97782756dcfa19949be4ce6e364fd053fca0fada124b02ac5e20b1d2e0c10e36ced484358dbbfa4e249fb0c41fcb29d60d08527ae89  pixman-0.30.2.tar.bz2"