# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=font-util
pkgver=1.3.2
pkgrel=0
pkgdesc="X.org font utilities"
url="https://www.X.Org/"
arch="all"
license="MIT AND X11 AND BSD-2-Clause"
depends="perl"
depends_dev="font-util"
makedepends="$depends_dev util-macros"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.X.Org/releases/individual/font/$pkgname-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

check() {
	make check
}

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

sha512sums="7cac529b12ae71185b89c72c1569b9826f52eeaecc1c76010338e7c42c4078ae339f18220b580bbd68fb5dc09df6ecf169a47c32e6104d8ee53bd443fa21d167  font-util-1.3.2.tar.bz2"