diff --git a/srcpkgs/font-sarasa-gothic/template b/srcpkgs/font-sarasa-gothic/template new file mode 100644 index 00000000000..eb31ac8b75c --- /dev/null +++ b/srcpkgs/font-sarasa-gothic/template @@ -0,0 +1,21 @@ +# Template file for 'font-sarasa-gothic' +pkgname=font-sarasa-gothic +version=0.8.0 +revision=1 +archs=noarch +create_wrksrc=yes +hostmakedepends="p7zip" +depends="font-util" +short_desc="CJK programming font based on Iosevka and Source Han Sans" +maintainer="B. Wilson " +license="OFL-1.1" +homepage="https://github.com/be5invis/Sarasa-Gothic" +distfiles="https://github.com/be5invis/Sarasa-Gothic/releases/download/v${version}/sarasa-gothic-ttc-${version}.7z" +checksum=6a78ce58fc5c572e2f6e17d6af84589b26dc97cccaf253851496c6773ae40f65 + +font_dirs="/usr/share/fonts/TTF" + +do_install() { + vmkdir usr/share/fonts/TTF + vcopy * usr/share/fonts/TTF +}