2012-11-10 14:38:53 +04:00
|
|
|
SF_redirect () {
|
|
|
|
redirect
|
|
|
|
process 'http://[a-z]+[.]dl[.]sourceforge[.]net/' 'mirror://sourceforge/'
|
|
|
|
process '[?].*' ''
|
|
|
|
}
|
2012-12-04 10:33:37 +04:00
|
|
|
|
|
|
|
SF_version_dir () {
|
2014-06-27 16:28:00 +04:00
|
|
|
version_link 'http://sourceforge.net/.+/'"$1"'[0-9.]+/$'
|
2012-12-04 10:33:37 +04:00
|
|
|
}
|
2013-10-29 10:56:33 +04:00
|
|
|
|
2014-09-02 13:08:18 +04:00
|
|
|
SF_version_tarball () {
|
2016-08-10 20:27:23 +03:00
|
|
|
version_link "${1:-[.]tar[.]}.*/download\$"
|
2014-09-02 13:08:18 +04:00
|
|
|
}
|
|
|
|
|
2013-10-29 10:56:33 +04:00
|
|
|
GH_latest () {
|
|
|
|
prefetch_command_rel ../fetchgit/nix-prefetch-git
|
2013-10-31 02:59:45 +04:00
|
|
|
revision "$("$(dirname "$0")/urls-from-page.sh" "$CURRENT_URL/commits" | grep /commit/ | head -n 1 | xargs basename )"
|
|
|
|
version '.*' "git-$(date +%Y-%m-%d)"
|
|
|
|
NEED_TO_CHOOSE_URL=
|
2013-10-29 10:56:33 +04:00
|
|
|
}
|