diff --git a/srcpkgs/font-liberation-narrow-ttf/template b/srcpkgs/font-liberation-narrow-ttf/template new file mode 100644 index 00000000000..e7cc0ade716 --- /dev/null +++ b/srcpkgs/font-liberation-narrow-ttf/template @@ -0,0 +1,18 @@ +# Template file for 'font-liberation-narrow-ttf' +pkgname=font-liberation-narrow-ttf +version=1.07.6 +revision=1 +depends="font-util" +short_desc="Fonts with same metrics as Times, Arial and Courier" +maintainer="Đoàn Trần Công Danh " +license="GPL-2.0-only WITH Liberation-exception" +homepage="https://github.com/liberationfonts/liberation-sans-narrow" +distfiles="https://github.com/liberationfonts/liberation-sans-narrow/files/2579431/liberation-narrow-fonts-ttf-${version}.tar.gz" +# distfiles="https://dev-www.libreoffice.org/src/liberation-narrow-fonts-ttf-${version}.tar.gz" +checksum=8879d89b5ff7b506c9fc28efc31a5c0b954bbe9333e66e5283d27d20a8519ea3 +font_dirs="/usr/share/fonts/TTF/liberation" + +do_install() { + vmkdir usr/share/fonts/TTF/liberation + vcopy "*.ttf" usr/share/fonts/TTF/liberation +}