diff --git a/srcpkgs/font-inter/template b/srcpkgs/font-inter/template new file mode 100644 index 00000000000..1bce59cfb30 --- /dev/null +++ b/srcpkgs/font-inter/template @@ -0,0 +1,19 @@ +# Template file for 'font-inter' +pkgname=font-inter +version=3.19 +revision=1 +depends="font-util" +short_desc="Variable typeface carefully crafted & designed for computer screens" +maintainer="Robin Lundgren " +license="OFL-1.1" +homepage="https://rsms.me/inter/" +distfiles="https://github.com/rsms/inter/releases/download/v${version}/Inter-${version}.zip" +checksum=150ab6230d1762a57bebf35dfc04d606ff91598a31d785f7f100356ecdcc0032 + +font_dirs="/usr/share/fonts/OTF/inter" + +do_install() { + vmkdir usr/share/fonts/OTF/inter + vcopy *Desktop/*.otf usr/share/fonts/OTF/inter + vlicense LICENSE.txt LICENSE.md +}