summaryrefslogblamecommitdiff
path: root/user/libx11/APKBUILD
blob: 8672d1b395361f7a0af9b2d5e7a2722539ea9cd6 (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.12
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

# secfixes:
#   1.6.12-r0:
#     - CVE-2020-14363

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="79df7d61d9009b0dd3b65f67a62189aa0a43799c01026b3d2d534092596a0b67f246af5e398a89eb1ccc61a27335f81be8262b8a39768a76f62d862cd7415a47  libX11-1.6.12.tar.bz2"