# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libfontenc
pkgver=1.1.6
pkgrel=0
pkgdesc="X11 font encoding library"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
makedepends="util-macros xorgproto-dev zlib-dev"
subpackages="$pkgname-dev"
source="https://www.X.Org/releases/individual/lib/$pkgname-$pkgver.tar.xz"

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

check() {
	make check
}

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

sha512sums="524247caf035e5d69280575c79ec5a3259c4cd0a4afa375b01985fedf800b42ecd75102e38f85cdce5591d020d361ffa9390adcb7906e939df289e5131088683  libfontenc-1.1.6.tar.xz"