diff --git a/srcpkgs/twemoji/template b/srcpkgs/twemoji/template index c67a29538e9..5c3202f6e21 100644 --- a/srcpkgs/twemoji/template +++ b/srcpkgs/twemoji/template @@ -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 " 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/ }