diff --git a/srcpkgs/font-liberation-ttf/template b/srcpkgs/font-liberation-ttf/template new file mode 100644 index 00000000000..b08915b6e76 --- /dev/null +++ b/srcpkgs/font-liberation-ttf/template @@ -0,0 +1,17 @@ +# Template file for 'font-liberation-ttf' +pkgname=font-liberation-ttf +version=2.1.5 +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-3.0-or-later" +homepage="https://github.com/liberationfonts/liberation-fonts" +distfiles="https://github.com/liberationfonts/liberation-fonts/files/7261482/liberation-fonts-ttf-${version}.tar.gz" +checksum=7191c669bf38899f73a2094ed00f7b800553364f90e2637010a69c0e268f25d0 +font_dirs="/usr/share/fonts/TTF/liberation" + +do_install() { + vmkdir usr/share/fonts/TTF/liberation + vcopy "*.ttf" usr/share/fonts/TTF/liberation +}