summaryrefslogtreecommitdiffstats
path: root/web/lib/pkgfuncs.inc
diff options
context:
space:
mode:
authorpjmattal <pjmattal>2005-08-02 06:30:46 +0000
committerpjmattal <pjmattal>2005-08-02 06:30:46 +0000
commita00af12557efea78fd2cd321a4af58ce7a095c21 (patch)
tree0672c0ed972bc18d5a99e2c2e62250bc6bcddf25 /web/lib/pkgfuncs.inc
parent6d79fe0c27f7cedb6a8a9e7c39149bdea9363a87 (diff)
downloadaurweb-a00af12557efea78fd2cd321a4af58ce7a095c21.tar.xz
added separate link to PKGBUILD for packages in unsupported to pkg detail page
closes bug #3005
Diffstat (limited to 'web/lib/pkgfuncs.inc')
-rw-r--r--web/lib/pkgfuncs.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index b930065..550c6cb 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc
@@ -347,7 +347,7 @@ function package_details($id=0, $SID="") {
print "<tr>\n";
print " <td class='boxSoft' colspan='2'><span class='f3'>";
if ($row["LocationID"] == 2) {
- print "<a href='".$row['URLPath']."'>".__("Tarball")."</a> :: <a href='".dirname($row['URLPath'])."/".$row['Name']."'>".__("Files")."</a></span></td>";
+ print "<a href='".$row['URLPath']."'>".__("Tarball")."</a> :: <a href='".dirname($row['URLPath'])."/".$row['Name']."'>".__("Files")."</a> :: <a href='".dirname($row['URLPath'])."/".$row['Name']."/PKGBUILD'>PKGBUILD</a></span></td>";
} elseif ($row["LocationID"] == 3) {
print "<a href='http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/" . $row["Category"] . "/" . $row["Name"] . "/?cvsroot=AUR&only_with_tag=CURRENT'>CVS</td>";
}