# Exit on error:
set -e

wget http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz
tar xf pkg-config-0.28.tar.gz
cd pkg-config-0.28
./configure \
    --prefix=/usr \
    --with-internal-glib
make
make install
cd ..
rm -rf pkg-config-0.28
rm pkg-config-0.28.tar.gz

exit 0
