summaryrefslogblamecommitdiff
path: root/user/libx11/APKBUILD
blob: 5917acfa660517e64693d39922ed6c9edd8755b7 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                    

            



                                 
          





























                                                                            
                                                                                                                                                                   
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libx11
pkgver=1.6.6
pkgrel=0
pkgdesc="X11 client-side library"
url="https://www.X.Org/"
arch="all"
license="MIT AND X11"
depends=""
depends_dev="xtrans"
makedepends="$depends_dev libxcb-dev util-macros xorgproto-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.X.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
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="9866dc6b158b15a96efe140b6fa68a775889a37e5565a126216211fee63868e02629a9f9f41816d590ef150560f43b8864010a77a6318c9109e76aec1d21b4d7  libX11-1.6.6.tar.bz2"