diff --git a/srcpkgs/overpass-otf/template b/srcpkgs/overpass-otf/template new file mode 100644 index 00000000000..cabec0130ec --- /dev/null +++ b/srcpkgs/overpass-otf/template @@ -0,0 +1,30 @@ +# Template file for 'overpass-otf' +pkgname=overpass-otf +version=3.0.2 +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 " +license="OFL-1.1, LGPL-2.1" +homepage="http://overpassfont.org" +distfiles="https://github.com/RedHatBrand/Overpass/archive/${version}.tar.gz" +checksum=0be7e2b4a1b63be10d8fd290f3cee2f57fe38c865e415185685ee2bd442a9b20 + +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 +} +