summaryrefslogtreecommitdiffstats
path: root/x11/libx11/APKBUILD
blob: 34f30f983504e526d98aa152b380253276955e86 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libx11
pkgver=1.2.1
pkgrel=0
pkgdesc="X11 client-side library"
url="http://xorg.freedesktop.org/"
license="custom:XFREE86"
depends="uclibc libxcb libxau libxdmcp"
subpackages="$pkgname-dev $pkgname-doc"
makedepends="g++ libxcb-dev libxau-dev libxdmcp-dev xproto xextproto
	xf86bigfontproto xtrans kbproto inputproto util-macros pkgconfig
	"
source="http://xorg.freedesktop.org/releases/individual/lib/libX11-$pkgver.tar.bz2
	"

depends_dev="xproto kbproto libxau-dev libxdmcp-dev libxcb-dev"

build() {
	cd "$srcdir"/libX11-$pkgver

	./configure --prefix=/usr \
		--with-xcb || return 1
	make || return 1
	make DESTDIR="$pkgdir" install || return 1

	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

md5sums="2f2beb98e71f397e1209beaca4e97cb1  libX11-1.2.1.tar.bz2"