# Get the source tarball
cd
test -f installed/potrace-1.16.tar.gz &&
mv -f installed/potrace-1.16.tar.gz .
test ! -f potrace-1.16.tar.gz &&
wget https://downloads.sourceforge.net/potrace/potrace-1.16.tar.gz
# Verify tarball w/ sha256sum:
# [ this comes from me, only proves yours is the same as mine ]
echo "be8248a17dedd6ccbaab2fcc45835bb0502d062e40fbded3bc56028ce5eb7a\
cc potrace-1.16.tar.gz" | sha256sum -c
# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "potrace-*" -exec rm -r {} \;
tar xzvf ~/potrace-1.16.tar.gz
cd potrace-1.16
test $UID = 0 && chown -R root:root .