# Template file for 'overpass-otf'
pkgname=overpass-otf
version=3.0.3
revision=1
wrksrc="Overpass-${version}"
noarch=yes
depends="font-util xbps-triggers"
font_dirs="/usr/share/fonts/OTF"
short_desc="Open source font family inspired by Highway Gothic"
maintainer="cr6git <quark6@protonmail.com>"
license="OFL-1.1, LGPL-2.1"
homepage="http://overpassfont.org"
distfiles="https://github.com/RedHatBrand/Overpass/archive/${version}.tar.gz"
checksum=5575965097b1682330a9a4d36e4090bfe53f6cf97f72351adbf44e05e008a8aa

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
}

