void-packages/srcpkgs/twemoji/template

23 lines
792 B
Bash

# Template file for 'twemoji'
pkgname=twemoji
version=12.0.1
revision=1
archs=noarch
wrksrc="TwitterColorEmoji-SVGinOT-Linux-${version}"
depends="font-util"
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=7886d78ecc992f87e17c9cf111d1e41100b0c5a5203c44c595faccb0ce14becd
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
}