# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=spleen
pkgver=1.8.1
pkgrel=0
pkgdesc="Monospace bitmap typeface from OpenBSD"
url="https://www.cambus.net/spleen-monospaced-bitmap-fonts/"
arch="noarch"
options="!check"
license="BSD-2-Clause"
depends="fontconfig mkfontdir mkfontscale"
makedepends=""
subpackages=""
source="https://github.com/fcambus/spleen/releases/download/$pkgver/spleen-$pkgver.tar.gz"

package() {
	for _font in "$builddir"/*.pcf; do
		gzip -9 $_font
		install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/misc/ $_font.gz
	done
}

sha512sums="c9ea684bd1b9b9d5c121aad4658d4ce13a3b086df8bd473c001b79238f953af51ce2fcda01eab53a4e5b578433b947b44aa5924f2b14ebf7ccd2ce1681cf6fb2  spleen-1.8.1.tar.gz"