#!/bin/bash VERSION=2.12.1 cd /tmp git clone -b $VERSION --single-branch https://github.com/pornel/pngquant cd pngquant make && make install cd / rm -fr /tmp/pngq*