summaryrefslogblamecommitdiff
path: root/user/libxfont2/APKBUILD
blob: dd9d5aeedcf7bfe678f01b6c528959828167592c (plain) (tree)
1
2
3
4

                                                 

            















                                                                         












                                         



                  


                                      
                                                                                                                                                                      
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxfont2
pkgver=2.0.4
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.bz2"
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="7cf6c58e520e48e24fc4f05fec760fcbeaaac0cedeed57dded262c855e1515cc34cd033222945a0b016f6857b83009fc2a6946c7d632c2f7bb0060f8e8a8a106  libXfont2-2.0.4.tar.bz2"