From ba8d48c1df1b7130ff4432c3e48bc94f4128fe3c Mon Sep 17 00:00:00 2001 From: Anton Afanasyev Date: Sun, 2 Feb 2020 23:36:20 -0800 Subject: [PATCH] New package: lato-ttf-2.015 --- srcpkgs/lato-ttf/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/lato-ttf/template diff --git a/srcpkgs/lato-ttf/template b/srcpkgs/lato-ttf/template new file mode 100644 index 00000000000..991653b745a --- /dev/null +++ b/srcpkgs/lato-ttf/template @@ -0,0 +1,24 @@ +# Template file for 'lato-ttf' +pkgname=lato-ttf +version=2.015 +revision=1 +archs=noarch +wrksrc="Lato2OFL" +hostmakedepends="unzip" +short_desc="Font family bearing the Polish name of \"Summer\"" +maintainer="Anton Afanasyev " +license="OFL-1.1" +homepage="https://www.latofonts.com/lato-free-fonts/" +distfiles="https://www.latofonts.com/download/Lato2OFL.zip" +checksum="42b54e96c07e299d967fc3227c7bd63a20d6cfb1dc8fd6dae83628091e20a5b8" + +do_install() { + vmkdir usr/share/fonts/Lato/ttf + + find ./ -name '*.ttf' | while read -r FILENAME; do + vinstall ${FILENAME} 755 usr/share/fonts/Lato/ttf/ + done + + vlicense OFL.txt + vdoc README.txt +}