diff --git a/srcpkgs/font-crosextra-carlito-ttf/template b/srcpkgs/font-crosextra-carlito-ttf/template new file mode 100644 index 00000000000..a6019c59115 --- /dev/null +++ b/srcpkgs/font-crosextra-carlito-ttf/template @@ -0,0 +1,17 @@ +# Template file for 'font-crosextra-carlito-ttf' +pkgname=font-crosextra-carlito-ttf +version=20220224 +revision=1 +depends="font-util" +short_desc="Sans-serif font metric-compatible with Calibri font" +maintainer="Đoàn Trần Công Danh " +license="OFL-1.1" +homepage="https://github.com/googlefonts/carlito" +distfiles="${DEBIAN_SITE}/main/f/fonts-crosextra-carlito/fonts-crosextra-carlito_${version}.orig.tar.gz" +checksum=0bb25eef0edd914abacc84ffd6d803ddbaa5db5de01e6850312074662ea6c305 +font_dirs="/usr/share/fonts/TTF/crosextra" + +do_install() { + vmkdir usr/share/fonts/TTF/crosextra + vcopy "fonts/ttf/*.ttf" usr/share/fonts/TTF/crosextra +}