void-packages/srcpkgs/font-sarasa-gothic/template

22 lines
638 B
Bash

# Template file for 'font-sarasa-gothic'
pkgname=font-sarasa-gothic
version=0.34.3
revision=1
create_wrksrc=yes
depends="font-util"
short_desc="CJK programming font based on Iosevka and Source Han Sans"
maintainer="B. Wilson <x@wilsonb.com>"
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=6938707af097f5bf899f570c886063860973193db9524468da0c27af4a36ce94
font_dirs="/usr/share/fonts/TTF"
do_install() {
local file
for file in *.ttc; do
vinstall $file 0644 usr/share/fonts/TTF
done
}