package noto { description = "a typeface for the world"; website = "https://fonts.google.com/noto"; anitya = 10671; version# = "2026.09.01"; source = remoteGitHub { suffix = "notofonts/notofonts.github.io"; tag = "noto-monthly-release-"+version; checksum = "ZITq5IyZNZovca3t7snPndDgjdzbCeBIoGYpY7bbnR-w9oAiz1vkN9zwRWz5JJw5"; }; enterSource = true; exec = generic { chdir = false; install = ` DEST=/work/system/share/fonts/noto for font in $(ls -d fonts/*/); do if [[ -d "$font"unhinted/variable-ttf ]]; then install -m444 -vDt "$DEST" "$font"unhinted/variable-ttf/*.ttf elif [[ -d "$font"unhinted/otf ]]; then install -m444 -vDt "$DEST" "$font"unhinted/otf/*.otf else install -m444 -vDt "$DEST" "$font"unhinted/ttf/*.ttf fi done rename -v 's/\[.*\]//' $DEST/* `; }; inputs = [ rename ]; }