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

22 lines
638 B
Bash

# Template file for 'font-sarasa-gothic'
pkgname=font-sarasa-gothic
version=0.36.2
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=cdc65aed713b5a991919755c712e0961e4388a7c3c636eed8e06b93bedf9a6f8
font_dirs="/usr/share/fonts/TTF"
do_install() {
local file
for file in *.ttc; do
vinstall $file 0644 usr/share/fonts/TTF
done
}