SHA256
1
0
forked from pool/icu
icu/download.sh

14 lines
242 B
Bash
Raw Normal View History

#!/bin/sh -ex
ver="51.1"
name="icu4c-51_1-docs.zip"
wget -c "http://download.icu-project.org/files/icu4c/$ver/$name"
rm -Rf html
mkdir html
pushd html
unzip "../$name"
popd
tar --use=xz -cvf "${name%.zip}.tar.xz" html
rm "$name"
rm -Rf html