diff --git a/srcpkgs/twemoji/template b/srcpkgs/twemoji/template new file mode 100644 index 0000000000..83214b34d6 --- /dev/null +++ b/srcpkgs/twemoji/template @@ -0,0 +1,21 @@ +# Template build file for 'twemoji'. +pkgname=twemoji +version=1.1 +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 " +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=1e63ba00d54120c88505af76a91f0e1180701dfe6034257f2e3c1eedf5b8367b +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 +}