summaryrefslogblamecommitdiff
path: root/user/libx11/APKBUILD
blob: eae22e047e3fd228c778e9edb23e4e180f5ba000 (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.8.2
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.xz"
builddir="$srcdir"/libX11-$pkgver

# secfixes:
#   1.8.2-r0:
#     - CVE-2021-31535
#   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="662ee8043d9ba27df82f647515b701d6f302a52715f21afdaba391f3b70691753e3649e7ff8322e07858be4297df9cbb19227958d676ed6dea198cce64330d1d  libX11-1.8.2.tar.xz"