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

23 lines
836 B
Bash

# Template file for 'noto-fonts-cjk'
pkgname=noto-fonts-cjk
version=20190416
revision=1
archs=noarch
_githash=be6c059ac1587e556e2412b27f5155c8eb3ddbe6
wrksrc="noto-cjk-${_githash}"
depends="font-util"
short_desc="Google Noto CJK Fonts"
maintainer="Peter Bui <pnutzh4x0r@gmail.com>"
license="OFL-1.1"
homepage="https://www.google.com/get/noto/help/cjk/"
#changelog="https://raw.githubusercontent.com/googlefonts/noto-cjk/master/NEWS"
#changelog_prior="https://raw.githubusercontent.com/googlefonts/noto-cjk/master/HISTORY"
distfiles="https://codeload.github.com/googlefonts/noto-cjk/tar.gz/${_githash}>${pkgname}-${version}.tar.gz"
checksum=2ad7fe638b1e99255c3d873dc7e0b8434a896f571abdec1a0698cfab3ef618fe
font_dirs="/usr/share/fonts/noto"
do_install() {
install -Dm644 Noto*.ttc -t ${DESTDIR}/usr/share/fonts/noto
vlicense LICENSE
}