# Depends on gtk3

# Exit on error:
set -e

wget https://pwmt.org/projects/girara/download/girara-0.2.3.tar.gz \
    --no-check-certificate

tar xf girara-0.2.3.tar.gz
cd girara-0.2.3

# This requires GCC 4.9:
sed -i.orig '/^CC/s/CC/#CC/' colors.mk

# This is incompatible with package-users:
sed -i.orig '/mkdir -p -m 755 $(DESTDIR)$(LOCALEDIR)/d' po/Makefile

make install

cd ..
exit 0
