# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=ttf-sudo
pkgver=0.50
pkgrel=0
pkgdesc="Monospaced font family for programming and console users"
url="https://www.kutilek.de/sudo-font/"
arch="noarch"
options="!check"  # No test suite.
license="OFL-1.1"
depends="fontconfig"
makedepends="unzip"
source="$pkgname-$pkgver.tar.gz::https://github.com/jenskutilek/sudo-font/archive/v${pkgver}.tar.gz"
builddir="$srcdir/sudo-font-$pkgver/sudo"

package() {
	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="d48020d5261f9b968ad2fc92f88ce4b1482e3b752b33b50452875951b09cd7472d520b60380321af49404de7986b06d6e653017a07e6a8687792f333a96e8532  ttf-sudo-0.50.tar.gz"