File prepare-sources.sh of Package kurinto-fonts

#!/bin/sh

version=2.196
release_date=20200726_0450

tmpdir=$(mktemp -d /tmp/XXXXXXXX)
pushd ${tmpdir}
wget https://kurinto.com/zip/Kurinto_v${version}_Full.zip -O .Kurinto_v${version}_Full.zip
unzip .Kurinto_v${version}_Full.zip
mv Kurinto_v${version}_Full_${release_date} kurinto-fonts-${version}
rm -rfv kurinto-fonts-${version}/{Docx,Images,Misc}
XZ_OPT=-9 tar -cvJf kurinto-fonts-${version}.tar.xz kurinto-fonts-${version}
popd

mv ${tmpdir}/kurinto-fonts-${version}.tar.xz .

rm -rf ${tmpdir}
openSUSE Build Service is sponsored by