void-packages/srcpkgs/twemoji/template

21 lines
732 B
Bash

# Template file for 'twemoji'
pkgname=twemoji
version=13.1.0
revision=1
depends="font-util"
short_desc="Twitter emoji font set in color and b&w"
maintainer="Orphaned <orphan@voidlinux.org>"
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=57c0d651400af872c33dcab78b33ecd7be0f7d49da49e2c1c83a59c215085f94
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
}