diff --git a/buildScripts/getFontforge b/buildScripts/getFontforge index 90caf9d..b5790a2 100755 --- a/buildScripts/getFontforge +++ b/buildScripts/getFontforge @@ -2,22 +2,15 @@ # This bash script gets and unpacks the latest fontforge AppImage -# The ppa is "rather old" ;-( -#sudo add-apt-repository ppa:fontforge/fontforge -#sudo apt-get update -#sudo apt-get install libfontforge-dev - source buildScripts/versionEnvs -rm -rf $FONTFORGE_APPIMAGE -rm -rf squashfs-root +FONTFORGE_SRC=fontforge-$FONTFORGE_VERSION.tar.gz + +rm -rf $FONTFORGE_SRC rm -rf fontforge -wget https://github.com/fontforge/fontforge/releases/download/$FONTFORGE_VERSION/$FONTFORGE_APPIMAGE +wget https://github.com/fontforge/fontforge/releases/download/$FONTFORGE_VERSION/$FONTFORGE_SRC -chmod a+x $FONTFORGE_APPIMAGE - -./$FONTFORGE_APPIMAGE --appimage-extract - -mv squashfs-root fontforge +tar xvf $FONTFORGE_SRC +mv fontforge-$FONTFORGE_VERSION fontforge diff --git a/buildScripts/versionEnvs b/buildScripts/versionEnvs index e53354a..2a6e589 100644 --- a/buildScripts/versionEnvs +++ b/buildScripts/versionEnvs @@ -1,9 +1,7 @@ #!/bin/bash -# This bash script exports environment variables for the latest software +# This bash script exports environment variables for the latest software # versions export POPPLER_VERSION=poppler-0.82.0 export FONTFORGE_VERSION=20190801 - -export FONTFORGE_APPIMAGE=FontForge-2019-08-01-ac635b8-x86_64.AppImage