# Template build file for 'twemoji'.
pkgname=twemoji
version=1.3
revision=2
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-4, 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=b4a4917f4bb45f3f9a87d484d5c69ffec7f05637682500eaec6f6281a6f8be7f
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
}
