# Template file for 'overpass-otf'
pkgname=overpass-otf
version=3.0.5
revision=1
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/RedHatOfficial/Overpass/archive/refs/tags/v${version}.tar.gz"
checksum=beb7528f1e9adf3decf841f02510a3752820561a06842f9097d9f2565fe41f34
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
}
