noto-fonts-ttf: update to 23.2.1.

Fix update reporting.
This commit is contained in:
icp 2023-02-06 12:22:00 +05:30 committed by classabbyamp
parent 29347de59f
commit fb5ff9e5f8
2 changed files with 8 additions and 11 deletions

View File

@ -1,25 +1,21 @@
# 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 <void@placeviolette.net>"
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
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
vlicense fonts/LICENSE
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() {

View File

@ -0,0 +1 @@
pattern="/archive/refs/tags/noto-monthly-release-\K[\d.]+(?=\.tar\.gz)"