# Depends on sdl1

# Exit on error:
set -e

wget http://www.fovea.cc/files/flobopuyo/flobopuyo-0.20.tgz
tar xf flobopuyo-0.20.tgz
cd flobopuyo-0.20

make \
    PREFIX=/local \
    DATADIR=/local/share/flobopuyo \
    INSTALL_BINDIR=/local/bin \
    install

cd ..
rm -rf flobopuyo-0.20
rm flobopuyo-0.20.tgz

exit 0
