# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=ttf-sudo
pkgver=0.37
pkgrel=0
pkgdesc="Monospaced font family for programming and console users"
url="https://www.kutilek.de/sudo-font/"
arch="noarch"
options="!check" # No tests
license="OFL-1.1"
depends="fontconfig"
makedepends=""
source="https://github.com/jenskutilek/sudo-font/releases/download/v$pkgver/sudo.zip"
builddir="$srcdir/sudo"

package() {
	cd "$builddir"
	mkdir -p "$pkgdir"/usr/share/fonts/X11/TTF/${pkgname#*-}
	for i in *.ttf; do
		install -Dm644 "$i" "$pkgdir"/usr/share/fonts/X11/TTF/${pkgname#*-}
	done
}

sha512sums="9622d6f6aaf6724255d62b655b9bdb0fb9b67b66aa367f10df6fec5efd1d68e6da34a8b58bee04fb1d277bb225ed7bf17491e50e27a13383c7c9a79172439b4f  sudo.zip"