void-packages/srcpkgs/noto-fonts-cjk/template

29 lines
1.1 KiB
Bash

# Template file for 'noto-fonts-cjk'
pkgname=noto-fonts-cjk
# set to the date of the latest release packaged
version=20220127
revision=1
# the sans and serif variants are released on separate tags
_sans_version=2.004
_serif_version=2.001
create_wrksrc=yes
depends="font-util"
short_desc="Google Noto CJK Fonts"
maintainer="classabbyamp <void@placeviolette.net>"
license="OFL-1.1"
homepage="https://www.google.com/get/noto/help/cjk/"
changelog="https://raw.githubusercontent.com/googlefonts/noto-cjk/main/Sans/NEWS.md
https://raw.githubusercontent.com/googlefonts/noto-cjk/main/Serif/NEWS.md"
distfiles="https://github.com/googlefonts/noto-cjk/releases/download/Sans${_sans_version}/03_NotoSansCJK-OTC.zip
https://github.com/googlefonts/noto-cjk/releases/download/Serif${_serif_version}/04_NotoSerifCJKOTC.zip"
checksum="528f4e1b25ff3badb0321b38d015d954c4c0de926c7830ef50e4a1948f6a3eed
2f0630f88752d50b11a427bdd71f20f7178219e647c56cbaf36c032dbe1ed9d0"
font_dirs="/usr/share/fonts/noto"
do_install() {
vmkdir usr/share/fonts/noto
vcopy "*.ttc" usr/share/fonts/noto
vcopy "OTC/*.ttc" usr/share/fonts/noto
vlicense LICENSE
}