Now that source tarballs can be GPG-signed, the website should also display
a link to fetch them.
if($srcbuild) {
$out.='<br /><a href="https://f-droid.org/repo/'.$apk['srcname'].'">source tarball</a> ';
$out.=$this->human_readable_size(filesize($this->site_path.'/repo/'.$apk['srcname']));
+ if(file_exists($this->site_path.'/repo/'.$apk['srcname'].'.asc')) {
+ $out.=' <a href="https://f-droid.org/repo/'.$apk['srcname'].'.asc">GPG Signature</a> ';
+ }
}
if(isset($apk['permissions'])) {