aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxrender/APKBUILD
blob: 8818a6de33f6128414a467d86f6a1d3dd0af04c2 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxrender
pkgver=0.9.9
pkgrel=1
pkgdesc="X Rendering Extension client library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-dev"
depends=
depends_dev="renderproto libx11-dev"
makedepends="$depends_dev"
source="http://xorg.freedesktop.org/releases/individual/lib/libXrender-$pkgver.tar.bz2"


_builddir="$srcdir"/libXrender-$pkgver

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="5db92962b124ca3a8147daae4adbd622  libXrender-0.9.9.tar.bz2"
sha256sums="fc2fe57980a14092426dffcd1f2d9de0987b9d40adea663bd70d6342c0e9be1a  libXrender-0.9.9.tar.bz2"
sha512sums="6bb6d18d6a1b26631921b19b95a18556296208578f59fbdb7dd81f09bd9399021a2c72e7fc1504134cd004722153dc5b43fef49347aea54d4748fa22d3b6e9a7  libXrender-0.9.9.tar.bz2"