# Exit on error:
set -e

wget http://downloads.sourceforge.net/pcmanfm/libfm-1.2.3.tar.xz
tar xf libfm-1.2.3.tar.xz
cd libfm-1.2.3

./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --with-extra-only \
    --with-gtk=no

make
make install

cd ..
exit 0
