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

23 lines
728 B
Bash

# Template file for 'noto-fonts-cjk'
pkgname=noto-fonts-cjk
version=20170601
revision=3
archs=noarch
_githash=32a5844539f2e348ed36b44e990f9b06d7fb89fe
wrksrc="noto-cjk-${_githash}"
depends="font-util xbps-triggers"
short_desc="Google Noto CJK Fonts"
maintainer="Peter Bui <pnutzh4x0r@gmail.com>"
license="OFL-1.1"
homepage="https://www.google.com/get/noto/"
#changelog="https://raw.githubusercontent.com/googlei18n/noto-cjk/master/NEWS"
distfiles="https://github.com/googlei18n/noto-cjk/archive/${_githash}.tar.gz"
checksum=dfd40932647ca15f610ee97fdff1c8bf5e2864f0db6f50ac245f2f284c92f92a
font_dirs="/usr/share/fonts/noto"
do_install() {
vmkdir usr/share/fonts/noto
install -m644 Noto*.ttc ${DESTDIR}/usr/share/fonts/noto
}