aboutsummaryrefslogtreecommitdiffstats
path: root/main/libx11/APKBUILD
blob: dc05afde43aa8baa041fa09d18c4213bdb4a3bf7 (plain) (blame)
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
39
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libx11
pkgver=1.6.4
pkgrel=0
pkgdesc="X11 client-side library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom:XFREE86"
depends=
subpackages="$pkgname-dev $pkgname-doc"
depends_dev="libxcb-dev xextproto xf86bigfontproto-dev xtrans
	inputproto"
makedepends="$depends_dev util-macros xproto kbproto"
source="http://xorg.freedesktop.org/releases/individual/lib/libX11-$pkgver.tar.bz2"

builddir="$srcdir"/libX11-$pkgver
build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--with-xcb \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

md5sums="6d54227082f3aa2c596f0b3a3fbb9175  libX11-1.6.4.tar.bz2"
sha256sums="b7c748be3aa16ec2cbd81edc847e9b6ee03f88143ab270fb59f58a044d34e441  libX11-1.6.4.tar.bz2"
sha512sums="1fb2ab1f16af14f03ad147ecf2a43c0137c528b9f7ad7de12c47a5861159313260c40122e8271ebd53bf06636d84a4766e06354c7791780f623ba316bed46e92  libX11-1.6.4.tar.bz2"