void-packages/srcpkgs/twemoji/template
maxice8 4f5322e565 twemoji: update to 1.4.
Closes: #12782 [via git-merge-pr]
2018-03-21 23:04:33 -07:00

21 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
}