name=corefonts version=final fonts=" efa72d3ed0120a07326ce02f051e9b42-wd97vwr32.exe 230a1d13a365b22815f502eb24d9149b-webdin32.exe 12d2a75f8156e10607be1eaa8e8ef120-verdan32.exe 0d7ea16cac6261f8513a061fbfcdb2b5-trebuc32.exe ed39c8ef91b9fb80f76f702568291bd5-times32.exe 7907c7dd6684e9bade91cff82683d9d7-impact32.exe 4d90016026e2da447593b41a8d8fa8bd-georgi32.exe 4e412c772294403ab62fb2d247d85c60-courie32.exe 2b30de40bb5e803a0452c7715fc835d1-comic32.exe c9089ae0c3b3d0d8c4b0a95979bb9ff0-arialb32.exe 9637df0e91703179f0723ec095a36cb5-arial32.exe cbdc2fdd7d2ed0832795e86a8b9ee19a-andale32.exe " for font in $fonts; do file="$(echo "$font" | cut -d- -f2)" checksum="$(echo "$font" | cut -d- -f1)" download "https://sourceforge.net/projects/$name/files/the%20fonts/$version/$file" \ "$checksum" done header_end mkdir -p "$dir_install/$dir_prefix/$dir_datadir/fonts/TTF" for font in $fonts; do file="$(echo "$font" | cut -d- -f2)" extract "$file" \ "$dir_install/$dir_prefix/$dir_datadir/fonts/TTF" \ 'cabextract -q -F *.ttf -d {dst} {src}' done # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: