diff --git a/srcpkgs/noto-fonts-emoji/template b/srcpkgs/noto-fonts-emoji/template new file mode 100644 index 0000000000..de1c5c380f --- /dev/null +++ b/srcpkgs/noto-fonts-emoji/template @@ -0,0 +1,21 @@ +# Template build file for 'noto-fonts-emoji'. +pkgname=noto-fonts-emoji +version=20161020 +revision=1 +noarch="yes" +_githash=f09b63d1ecfe19b93021b0a283f1aa539b7230a9 +wrksrc="noto-emoji-${_githash}" +depends="font-util" +font_dirs="/usr/share/fonts/noto" +short_desc="Google Noto Emoji Fonts" +maintainer="Peter Bui " +license="OFL-1.1" +homepage="https://www.google.com/get/noto/" +distfiles="https://github.com/googlei18n/noto-emoji/archive/${_githash}.tar.gz" +checksum=32926d0483fd7d6ca962876530b9faaae3e49ee05ae5bc417e5f2db2622ba6a5 +conflicts="google-fonts-ttf>=0" + +do_install() { + vmkdir usr/share/fonts/noto + install -m644 fonts/Noto*.ttf ${DESTDIR}/usr/share/fonts/noto +}