#download the source
curl -o /tmp/subversion.tar.gz http://subversion.tigris.org/downloads/subversion-1.3.0.tar.gz

#uncompress the file
cd /tmp
tar xvzf subversion.tar.gz

#configure, make and make install
cd /tmp/subversion-1.3.0
./configure --prefix=/usr/local/subversion-1.3.0
make
sudo make install

#create a link
cd /usr/local
sudo ln -s subversion-1.3.0 svn

#cleanup
rm -fr /tmp/subversion*

#remind that the binaries need to be in the path
echo " "
echo " "
echo "#####################################################################"
echo "It would be helpful if you put the subversion binaries in your \$PATH"
echo "environment variable.  In your ~/.bash_profile add the following line"
echo "PATH=/usr/local/svn/bin:\$PATH" 
echo "#####################################################################"
echo " "
echo " "