1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00
pdf2htmlEX/buildScripts/getFontforge
2020-06-02 11:58:27 +00:00

26 lines
609 B
Bash
Executable File

#!/bin/bash
# This bash script gets and unpacks the latest fontforge AppImage
source buildScripts/reSourceVersionEnvs
echo ""
echo "-------------------------------------------------------------------"
echo "GETTING FontForge sources (using wget)"
echo " (FONTFORGE_VERSION: [$FONTFORGE_VERSION])"
echo "-------------------------------------------------------------------"
echo ""
set -ev
FONTFORGE_SRC=$FONTFORGE_VERSION.tar.gz
rm -rf $FONTFORGE_SRC
rm -rf fontforge
wget https://github.com/fontforge/fontforge/archive/$FONTFORGE_SRC
tar xvf $FONTFORGE_SRC
mv fontforge-$FONTFORGE_VERSION fontforge