Merge pull request #6609 from Sir-Boops/twemoji

twemoji: update to 1.3
This commit is contained in:
Enno Boland 2017-06-06 12:25:27 +02:00 committed by GitHub
commit 165d3235a6

View file

@ -1,6 +1,6 @@
# Template build file for 'twemoji'.
pkgname=twemoji
version=1.2
version=1.3
revision=1
depends="font-util"
font_dirs="/usr/share/fonts/twemoji"
@ -9,13 +9,15 @@ 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=1de6443c6ca0923e503e3350d1c42c2413235868665d0ca9e58690cb447e5f35
checksum=b4a4917f4bb45f3f9a87d484d5c69ffec7f05637682500eaec6f6281a6f8be7f
wrksrc="TwitterColorEmoji-SVGinOT-Linux-${version}"
noarch="yes"
do_install() {
vlicense LICENSE-MIT.txt
vlicense LICENSE-CC-BY.txt
vmkdir usr/share/fonts/twemoji
install -Dm644 TwitterColorEmoji-SVGinOT.ttf ${DESTDIR}/usr/share/fonts/twemoji
vmkdir etc/fonts/conf.d/
install -Dm644 TwitterColorEmoji-SVGinOT.ttf ${DESTDIR}/usr/share/fonts/twemoji/TwitterColorEmoji-SVGinOT.ttf
install -Dm644 fontconfig/56-twemoji-color.conf ${DESTDIR}/etc/fonts/conf.avail/56-twemoji-color.conf
ln -sf /etc/fonts/conf.avail/56-twemoji-color.conf ${DESTDIR}/etc/fonts/conf.d/
}