# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=spleen
pkgver=1.5.0
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="0d03ea534f872c3509c1ab7f2947e4a6e2edf4436daa65db23f83622599c820c59c373f1fd97edebfaa728606109736de09a173443054f84259f7c09175d81df  spleen-1.5.0.tar.gz"