# verify checksums
verifychecksums() {
  if [ -z "$SHA512SUMS" ] ; then 
    echo "sha512 checksums don't exist in $SRCDIRRPATH.SMBuild !"
    echo "Please run bldpkg genchecksum"
    exit 1
  fi
  
  eval sums=\"\$SHA512SUMS\"

  echo "Verifying Checksums..."
  IFS=$'\n'
  for src in $sums; do
    echo "$src" | sha512sum -c
  done
  unset IFS
  echo "Looks good..."
}

