noto-fonts-ttf: update to 20220810, adopt.
This commit is contained in:
parent
16b713dea6
commit
a226a37df8
|
@ -1,21 +1,25 @@
|
|||
# Template file for 'noto-fonts-ttf'
|
||||
pkgname=noto-fonts-ttf
|
||||
version=20190926
|
||||
revision=2
|
||||
_githash=0fa1dfabd6e3746bb7463399e2813f60d3f1b256
|
||||
version=20220810
|
||||
revision=1
|
||||
_githash=2725c70baa8b0176c7577093ba1fc6179aa79478
|
||||
wrksrc="noto-fonts-${_githash}"
|
||||
depends="font-util"
|
||||
short_desc="Google Noto TTF Fonts"
|
||||
maintainer="Peter Bui <pbui@github.bx612.space>"
|
||||
maintainer="classabbyamp <void@placeviolette.net>"
|
||||
license="OFL-1.1"
|
||||
homepage="https://www.google.com/get/noto/"
|
||||
distfiles="https://codeload.github.com/googlefonts/noto-fonts/tar.gz/${_githash}>${pkgname}-${version}.tar.gz"
|
||||
checksum=6ca2938b99e4316c6eabdab498f577efb979c4f2aeaf5a3a357ab4e3dcc2c2a5
|
||||
# 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
|
||||
font_dirs="/usr/share/fonts/noto"
|
||||
|
||||
do_install() {
|
||||
install -Dm644 hinted/Noto*/* -t ${DESTDIR}/usr/share/fonts/noto
|
||||
install -Dm644 unhinted/Noto*/* -t ${DESTDIR}/usr/share/fonts/noto
|
||||
# remove duplicates
|
||||
rm hinted/ttf/NotoSansTifinagh/NotoSansTifinagh[AGHRST]*.ttf
|
||||
vmkdir usr/share/fonts/noto
|
||||
vcopy "hinted/ttf/Noto*/*" usr/share/fonts/noto
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
|
@ -23,18 +27,15 @@ noto-fonts-ttf-extra_package() {
|
|||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - additional variants"
|
||||
pkg_install() {
|
||||
vmove usr/share/fonts/noto/Noto*-ExtraCondensed*.ttf
|
||||
vmove usr/share/fonts/noto/Noto*-Condensed*.ttf
|
||||
vmove usr/share/fonts/noto/Noto*-SemiCondensed*.ttf
|
||||
vmove "usr/share/fonts/noto/Noto*-*Condensed*.ttf"
|
||||
|
||||
vmove usr/share/fonts/noto/Noto*-Thin*.ttf
|
||||
vmove usr/share/fonts/noto/Noto*-ExtraLight*.ttf
|
||||
vmove usr/share/fonts/noto/Noto*-Light*.ttf
|
||||
vmove "usr/share/fonts/noto/Noto*-*Thin*.ttf"
|
||||
vmove "usr/share/fonts/noto/Noto*-*Light*.ttf"
|
||||
# keep *-Regular*
|
||||
vmove usr/share/fonts/noto/Noto*-Medium*.ttf
|
||||
vmove usr/share/fonts/noto/Noto*-SemiBold*.ttf
|
||||
vmove "usr/share/fonts/noto/Noto*-*Medium*.ttf"
|
||||
vmove "usr/share/fonts/noto/Noto*-*SemiBold*.ttf"
|
||||
# keep *-Bold*
|
||||
vmove usr/share/fonts/noto/Noto*-ExtraBold*.ttf
|
||||
vmove usr/share/fonts/noto/Noto*-Black*.ttf
|
||||
vmove "usr/share/fonts/noto/Noto*-*ExtraBold*.ttf"
|
||||
vmove "usr/share/fonts/noto/Noto*-*Black*.ttf"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue