Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
googlecode: disable livecheck
- Loading branch information
1 parent
8531e22
commit f0ba3bf
Showing
1 changed file
with
1 addition
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |