# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=ttf-terminus
pkgver=4.49.1
pkgrel=0
pkgdesc="TrueType variant of Terminus Font"
url="https://files.ax86.net/terminus-ttf/"
arch="noarch"
options="!check"  # No test suite.
license="OFL-1.1"
depends="fontconfig"
makedepends=""
source="https://files.ax86.net/terminus-ttf/files/$pkgver/terminus-ttf-$pkgver.zip"
builddir="$srcdir/terminus-ttf-$pkgver"

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="41988665b7952e22d40fc8e4971acc4c1041fea274fd9e5ab197d8b9fce84ce539afbaf41b7e9fac9f8fd0af53bc009d7d62cd79adc4257efe5752d7f29e7336  terminus-ttf-4.49.1.zip"