From 91ea921c3dbb5e11ad75151c8722c6b328eb6667 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 11 Mar 2019 11:23:06 -0300 Subject: [PATCH] noto-fonts-cjk: fix noarch= --- srcpkgs/noto-fonts-cjk/template | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/srcpkgs/noto-fonts-cjk/template b/srcpkgs/noto-fonts-cjk/template index 3cd899a64a7..13e432da782 100644 --- a/srcpkgs/noto-fonts-cjk/template +++ b/srcpkgs/noto-fonts-cjk/template @@ -1,20 +1,21 @@ -# Template build file for 'noto-fonts-cjk' +# Template file for 'noto-fonts-cjk' pkgname=noto-fonts-cjk version=20170601 -revision=2 -noarch="yes" +revision=3 +archs=noarch _githash=32a5844539f2e348ed36b44e990f9b06d7fb89fe wrksrc="noto-cjk-${_githash}" -depends="font-util" -font_dirs="/usr/share/fonts/noto" +depends="font-util xbps-triggers" short_desc="Google Noto CJK Fonts" maintainer="Peter Bui " license="OFL-1.1" -#changelog="https://raw.githubusercontent.com/googlei18n/noto-cjk/master/NEWS" homepage="https://www.google.com/get/noto/" +#changelog="https://raw.githubusercontent.com/googlei18n/noto-cjk/master/NEWS" distfiles="https://github.com/googlei18n/noto-cjk/archive/${_githash}.tar.gz" checksum=dfd40932647ca15f610ee97fdff1c8bf5e2864f0db6f50ac245f2f284c92f92a +font_dirs="/usr/share/fonts/noto" + do_install() { vmkdir usr/share/fonts/noto install -m644 Noto*.ttc ${DESTDIR}/usr/share/fonts/noto