1#!/bin/bash 2 3set -x 4set -o errexit -o nounset 5 6# 22.0.16 is the libtool version of 2.9.0 7if pkg-config --atleast-version 22.0.16 freetype2; then exit; fi 8 9pushd $HOME 10wget http://download.savannah.gnu.org/releases/freetype/freetype-2.9.tar.bz2 11tar xf freetype-2.9.tar.bz2 12pushd freetype-2.9 13./autogen.sh 14./configure --prefix=$HOME/.local 15make -j4 install 16popd 17popd 18