From 756e93eae2dc0cc55c54bae9ba98ce890dd528ff Mon Sep 17 00:00:00 2001 From: icp Date: Mon, 6 Feb 2023 12:22:00 +0530 Subject: [PATCH] noto-fonts-ttf: update to 23.2.1. Fix update reporting. --- srcpkgs/noto-fonts-ttf/template | 19 +++++++------------ srcpkgs/noto-fonts-ttf/update | 1 + 2 files changed, 8 insertions(+), 12 deletions(-) create mode 100644 srcpkgs/noto-fonts-ttf/update diff --git a/srcpkgs/noto-fonts-ttf/template b/srcpkgs/noto-fonts-ttf/template index c676d1773e31..2432c882aed1 100644 --- a/srcpkgs/noto-fonts-ttf/template +++ b/srcpkgs/noto-fonts-ttf/template @@ -1,25 +1,20 @@ # Template file for 'noto-fonts-ttf' pkgname=noto-fonts-ttf -version=20220810 +reverts="20220810_1 20190926_2 20190926_1 20181202_1 20181106_1" +version=23.2.1 revision=1 -_githash=2725c70baa8b0176c7577093ba1fc6179aa79478 depends="font-util" short_desc="Google Noto TTF Fonts" maintainer="classabbyamp " -license="OFL-1.1" -homepage="https://www.google.com/get/noto/" -# XXX: change to https://github.com/notofonts/notofonts.github.io/tree/main/fonts when migration is complete -# also see https://github.com/notofonts/noto-fonts/issues/2388 -distfiles="https://github.com/notofonts/noto-fonts/archive/${_githash}.tar.gz" -checksum=c1238ca0fc1e954ee2be444cafd53c033b13fa93f8a1e88f7137e9e028e6891e +license="Apache-2.0" +homepage="https://notofonts.github.io/" +distfiles="https://github.com/notofonts/notofonts.github.io/archive/refs/tags/noto-monthly-release-${version}.tar.gz" +checksum=af1c9b5e2ea768da792b1a95a5aabd36afc8b76131f04e7adc5ea7857b0c4791 font_dirs="/usr/share/fonts/noto" do_install() { - # remove duplicates - rm hinted/ttf/NotoSansTifinagh/NotoSansTifinagh[AGHRST]*.ttf vmkdir usr/share/fonts/noto - vcopy "hinted/ttf/Noto*/*" usr/share/fonts/noto - vlicense LICENSE + vcopy "fonts/Noto*/hinted/ttf/*.ttf" usr/share/fonts/noto } noto-fonts-ttf-extra_package() { diff --git a/srcpkgs/noto-fonts-ttf/update b/srcpkgs/noto-fonts-ttf/update new file mode 100644 index 000000000000..f5a25386ba8b --- /dev/null +++ b/srcpkgs/noto-fonts-ttf/update @@ -0,0 +1 @@ +pattern="/archive/refs/tags/noto-monthly-release-\K[\d.]+(?=\.tar\.gz)"