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

22 lines
719 B
Bash

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