summaryrefslogblamecommitdiff
path: root/user/libx11/APKBUILD
blob: 21d3ae8d4e903076675936370e82a7e3a68661d0 (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.10
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.10-r0:
#     - CVE-2023-43785
#     - CVE-2023-43786
#     - CVE-2023-43787
#   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="f801f5b77cbc55074f73dc95b29fff7b5e1b13b99641f6e397788ad9f31a29793ed4e8e5bd373122c790ef90627e8f9d6d5e271051c1767a479a85c55cd82bc1  libX11-1.8.10.tar.xz"