summaryrefslogblamecommitdiff
path: root/user/libxfont2/APKBUILD
blob: d6693c9f833013180cfb5e3a2a8da11166cdac60 (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.7
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="f703127df5d5b1093c9b73e019153ed7799523573d52e61d344209f0acfd4df42e11be12bdd1880479c47c2b70de581a4f2ef74e199e9b1ac438f426593d56b0  libXfont2-2.0.7.tar.xz"