diff --git a/srcpkgs/font-iosevka/template b/srcpkgs/font-iosevka/template new file mode 100644 index 0000000000..5cf294c583 --- /dev/null +++ b/srcpkgs/font-iosevka/template @@ -0,0 +1,21 @@ +# Template file for 'font-iosevka' +pkgname=font-iosevka +version=1.1.1 +revision=1 +wrksrc=Iosevka-${version} +noarch="yes" +font_dirs="/usr/share/fonts/TTF" +depends="font-util xbps-triggers" +short_desc="A slender monospace sans-serif and slab-serif typeface" +maintainer="Diogo Leal " +license="SIL Open Font License" +homepage="https://be5invis.github.io/Iosevka/" +distfiles="https://github.com/be5invis/Iosevka/archive/v${version}.tar.gz" +checksum=3c96eea5fda7eb28abcc1d582469c267d81b865f0b919037847bce722b48bbe6 + +do_install() { + vmkdir usr/share/fonts/TTF + vcopy *.ttf usr/share/fonts/TTF + $XBPS_FETCH_CMD https://raw.githubusercontent.com/be5invis/Iosevka/master/LICENSE + vlicense LICENSE +}