From a13ac83f8d0c3d1c4ed2a5dc178cc9ea4fdfd3ff Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Sat, 2 Oct 2021 06:19:46 +0700 Subject: [PATCH] font-sarasa-gothic: update to 0.34.3 Close: #33239 --- srcpkgs/font-sarasa-gothic/template | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/srcpkgs/font-sarasa-gothic/template b/srcpkgs/font-sarasa-gothic/template index 284198e2261a..534a4bf861fc 100644 --- a/srcpkgs/font-sarasa-gothic/template +++ b/srcpkgs/font-sarasa-gothic/template @@ -1,6 +1,6 @@ # Template file for 'font-sarasa-gothic' pkgname=font-sarasa-gothic -version=0.34.1 +version=0.34.3 revision=1 create_wrksrc=yes depends="font-util" @@ -9,11 +9,13 @@ 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=27bee9a1bdb8d94cb686816fb7961c5cced038fdd955148fbb3a297c94e974e0 +checksum=6938707af097f5bf899f570c886063860973193db9524468da0c27af4a36ce94 font_dirs="/usr/share/fonts/TTF" do_install() { - vmkdir usr/share/fonts/TTF - vcopy * usr/share/fonts/TTF + local file + for file in *.ttc; do + vinstall $file 0644 usr/share/fonts/TTF + done }