void-packages/srcpkgs/noto-fonts-emoji/template
Érico Nogueira db4a9848f7 noto-fonts-emoji: update to 20200916.
Also clean up template to use proper tags instead of hashes.

Unfortunately this version still doesn't work with xbps-src
update-check.
2021-06-08 00:00:28 -03:00

22 lines
723 B
Bash

# Template file for 'noto-fonts-emoji'
pkgname=noto-fonts-emoji
version=20200916
revision=1
# fix suffix as appropriate for new versions
_suffix=unicode13_1
_ver=${version:0:4}-${version:4:2}-${version:6:2}
wrksrc="noto-emoji-${_ver}-${_suffix}"
depends="font-util"
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/googlefonts/noto-emoji/archive/refs/tags/v${_ver}-${_suffix}.tar.gz"
checksum=13ad521b42e395751c72c0bf5585bd354d2383c65abe1a6227743fa8661e0feb
font_dirs="/usr/share/fonts/noto"
do_install() {
install -Dm644 fonts/Noto* -t ${DESTDIR}/usr/share/fonts/noto
vlicense fonts/LICENSE
}