# Template file for 'overpass-otf'
pkgname=overpass-otf
version=3.0.4
revision=2
wrksrc="Overpass-${version}"
depends="font-util xbps-triggers"
short_desc="Open source font family inspired by Highway Gothic"
maintainer="mobinmob <mobinmob@disroot.org>"
license="OFL-1.1, LGPL-2.1-only"
homepage="http://overpassfont.org"
distfiles="https://github.com/RedHatBrand/Overpass/archive/${version}.tar.gz"
checksum=07600d6745f5199ad210c7f39e934dcd9716b54615e44ccf1f830001a0da3597
font_dirs="/usr/share/fonts/OTF"

do_install() {
	for files in desktop-fonts/overpass/*.otf; do
		vinstall ${files} 644 usr/share/fonts/OTF
	done

	for files in desktop-fonts/overpass-mono/*.otf; do
		vinstall ${files} 644 usr/share/fonts/OTF
	done

	vlicense LICENSE.md
	vdoc overpass-specimen.pdf
	vdoc overpass-mono-specimen.pdf
	vdoc README.md
}
