void-packages/srcpkgs/twemoji/template

22 lines
793 B
Bash

# Template build file for 'twemoji'.
pkgname=twemoji
version=1.4
revision=1
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=8f982e09a163372d85e653c8fe7b074c0267b0cc38f73f5c3bff6a6f1aa4c1dc
wrksrc="TwitterColorEmoji-SVGinOT-Linux-${version}"
noarch=yes
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
}