cd
test -f installed/xforms-1.0.tar.gz && mv installed/xforms-1.0.tar.gz .
test ! -f xforms-1.0.tar.gz &&
wget http://savannah.nongnu.org/download/xforms/xforms-1.0.tar.gz
## I was unable to find the 0BC1B2B0 key anywhere, if you do, please let
## me know...
# Verify tarball w/ gpg:
#( gpg --list-keys 0BC1B2B0 > /dev/null 2>&1 || gpg --recv-keys 0BC1B2B0 ) &&
# wget -nc http://savannah.nongnu.org/download/xforms/xforms-1.0.tar.gz.sig &&
# gpg --verify xforms-1.0.tar.gz.sig && rm xforms-1.0.tar.gz.sig
cd /usr/local/src
find -type d -maxdepth 1 -name "xforms-*" -exec rm -r {} \;
tar xzvf ~/xforms-1.0.tar.gz
cd xforms-1.0
chown -R root.root .
# Edit the Imakefile if necessary
IMAKECPP=/usr/bin/cpp xmkmf -a
make
make install
make install.man
ldconfig
cd
mkdir -p installed
rm -f installed/xforms-*.tar.*
mv xforms-1.0.tar.gz installed/