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

depends_dev="xproto renderproto libx11-dev"
build() { 
	cd "$srcdir"/libXrender-$pkgver
	./configure --prefix=/usr
	make || return 1
}

package() {
	cd "$srcdir"/libXrender-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="ee62f4c7f0f16ced4da63308963ccad2  libXrender-0.9.7.tar.bz2"