Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
googlecode: disable livecheck
  • Loading branch information
l2dy authored and neverpanic committed Feb 7, 2017
1 parent 8531e22 commit f0ba3bf
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions _resources/port1.0/livecheck/googlecode.tcl
@@ -1,23 +1,3 @@
# This file contains the defaults for googlecode.

if {${livecheck.name} eq "default"} {
# Extract the googlecode project name from the homepage, if possible
if {$has_homepage
&& ([regexp {^http://code.google.com/p/([^/]+)} $homepage _ tag]
|| [regexp {^http://(.*).googlecode.com} $homepage _ tag])} {
set livecheck.name $tag
} else {
# Otherwise, fall back on the port name
set livecheck.name $name
}
}
if {!$has_homepage || ${livecheck.url} eq ${homepage}} {
set livecheck.url "http://code.google.com/p/${livecheck.name}/downloads/list"
}
if {${livecheck.distname} eq "default"} {
set livecheck.distname [regsub ***=[quotemeta ${livecheck.version}] [quotemeta [file tail [lindex ${distfiles} 0]]] (\[^\"'\]+)]
}
if {${livecheck.regex} eq ""} {
set livecheck.regex [list "href=\"//[quotemeta ${livecheck.name}].googlecode.com/files/${livecheck.distname}\""]
}
set livecheck.type "regex"
set livecheck.type "none"

0 comments on commit f0ba3bf

Please sign in to comment.