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

22 lines
718 B
Bash

# Template build file for 'noto-fonts-emoji'.
pkgname=noto-fonts-emoji
version=20180301
revision=1
noarch="yes"
_githash=153e1d4c026c124fbac6ee93e559b5df375f24f5
wrksrc="noto-emoji-${_githash}"
depends="font-util"
font_dirs="/usr/share/fonts/noto"
short_desc="Google Noto Emoji Fonts"
maintainer="Peter Bui <pnutzh4x0r@gmail.com>"
license="OFL-1.1"
homepage="https://www.google.com/get/noto/"
distfiles="https://github.com/googlei18n/noto-emoji/archive/${_githash}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=a1c5c47f4eeeb3d44b70bb09c62b74b4c080f825d45bccee29427e465cf1e8a2
conflicts="google-fonts-ttf>=0"
do_install() {
vmkdir usr/share/fonts/noto
install -m644 fonts/Noto*.ttf ${DESTDIR}/usr/share/fonts/noto
}