9 lines
542 B
Bash
9 lines
542 B
Bash
#!/bin/bash
|
|
version=$1
|
|
[ "${version}" ] || exit 1
|
|
mkdir -p hunspell-af-${version}
|
|
curl -L "https://raw.githubusercontent.com/LibreOffice/dictionaries/master/af_ZA/af_ZA.aff" -o hunspell-af-${version}/af_ZA.aff
|
|
curl -L "https://raw.githubusercontent.com/LibreOffice/dictionaries/master/af_ZA/af_ZA.dic" -o hunspell-af-${version}/af_ZA.dic
|
|
curl -L "https://raw.githubusercontent.com/LibreOffice/dictionaries/master/af_ZA/README_af_ZA.txt" -o hunspell-af-${version}/README_af_ZA.txt
|
|
tar cjf hunspell-af-${version}.tar.bz2 hunspell-af-${version}
|