# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=showfont
pkgver=1.0.5
pkgrel=0
pkgdesc="Utility to display font information from an X11 Font Server"
url="https://www.X.Org/"
arch="all"
license="X11"
depends=""
makedepends="libfs-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/showfont-$pkgver.tar.bz2"

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

check() {
	make check
}

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

sha512sums="d90d6d99ca573f2632435ccfd46de606994e3792deb58bab6261ff950481ec71eef032b828da0ee5333d6946c5f54594dfb2dadf930825971d3f4baa5c0ff6fd  showfont-1.0.5.tar.bz2"