summaryrefslogblamecommitdiff
path: root/user/libxfont2/APKBUILD
blob: 54cf2e6ad24f89f446977fef80cbfe4737719595 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

                                                 
            
        







                                                                         
                                                                      






                                    












                                         



                  


                                      
                                                                                                                                                                     
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxfont2
pkgver=2.0.6
pkgrel=0
pkgdesc="X11 font library from X.Org"
url="https://www.X.Org/"
arch="all"
license="MIT AND X11 AND BSD-4-Clause"
depends=""
makedepends="freetype-dev libfontenc-dev util-macros xorgproto-dev xtrans
	zlib-dev"
subpackages="$pkgname-dev"
source="https://www.X.Org/pub/individual/lib/libXfont2-$pkgver.tar.xz"
builddir="$srcdir/libXfont2-$pkgver"

# secfixes:
#   2.0.3-r0:
#     - CVE-2017-16611

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

check() {
	make check
}

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

sha512sums="24d6baeef8dc2ca2730925c6b790a97f4a3f46ea7b4d908555e7df29cee6e27b63d638b50c88dd30c853cecff7d9b079402cb617f4498f96410c5770b8815cbd  libXfont2-2.0.6.tar.xz"