void-packages/srcpkgs/twemoji/template

22 lines
789 B
Bash

# Template file for 'twemoji'
pkgname=twemoji
version=11.2.0
revision=1
noarch=yes
wrksrc="TwitterColorEmoji-SVGinOT-Linux-${version}"
depends="font-util"
font_dirs="/usr/share/fonts/twemoji"
short_desc="Twitter emoji font set in color and b&w"
maintainer="Sir_Boops <admin@boops.me>"
license="CC-BY-SA-4.0, MIT"
homepage="https://github.com/eosrei/twemoji-color-font"
distfiles="https://github.com/eosrei/twemoji-color-font/releases/download/v${version}/TwitterColorEmoji-SVGinOT-Linux-${version}.tar.gz"
checksum=24d0ea465ae3d95f69cd2df42d0b6fa5f0671e777ed3833ca9ac30a704f5201f
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
}