void-packages/srcpkgs/twemoji/template
2020-11-28 19:36:16 -03:00

21 lines
784 B
Bash

# Template file for 'twemoji'
pkgname=twemoji
version=13.0.1
revision=2
wrksrc="TwitterColorEmoji-SVGinOT-Linux-${version}"
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=7655b0989d12e6138f40274e6343c29d2f9bc85c48251d504418eca1cc62c2d6
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
}