void-packages/srcpkgs/twemoji/template

21 lines
727 B
Bash

# Template file for 'twemoji'
pkgname=twemoji
version=14.0.2
revision=1
depends="font-util"
short_desc="Twitter emoji font set in color and b&w"
maintainer="icp <pangolin@vivaldi.net>"
license="CC-BY-SA-4.0, MIT"
homepage="https://github.com/13rac1/twemoji-color-font"
distfiles="https://github.com/13rac1/twemoji-color-font/releases/download/v${version}/TwitterColorEmoji-SVGinOT-Linux-${version}.tar.gz"
checksum=6826e21ea08dc5df26c887ae4e56046987e0f4909df8c02c73de05714a0353c1
font_dirs="/usr/share/fonts/twemoji"
do_install() {
vlicense LICENSE-MIT.txt
vlicense LICENSE-CC-BY.txt
vmkdir etc/fonts/conf.d/
install -Dm644 TwitterColorEmoji-SVGinOT.ttf ${DESTDIR}/usr/share/fonts/twemoji/TwitterColorEmoji-SVGinOT.ttf
}