Updating XMoto (and adding some functionality to upstream tracking system)
svn path=/nixpkgs/trunk/; revision=17100
This commit is contained in:
@@ -4,3 +4,8 @@
|
||||
#http://downloads.sourceforge.net/webdruid/files/webdruid/0.6.0-alpha5/webdruid-0.6.0-alpha5.tar.gz
|
||||
skipRedirectSF='s@^http://sourceforge.net/projects/@http://downloads.sourceforge.net/@; s@/download$@@'
|
||||
extractReleaseSF='s@.*/([^/]+)/[^/]+@\1@'
|
||||
|
||||
replaceAllVersionOccurences() {
|
||||
echo s/"$version"/\${version}/g
|
||||
}
|
||||
dashDelimitedVersion='s/.*-([0-9.]+)-.*/\1/'
|
||||
|
||||
@@ -37,7 +37,7 @@ prefetchClause=""
|
||||
eval "egrep \"$(getAttr sourceRegexp '.*[.]tar[.].*')\"" |
|
||||
eval "$(getAttr choiceCommand 'head -1')")"
|
||||
|
||||
if ! egrep ':' freshUrl ; then
|
||||
if ! egrep ':' <<< "$freshUrl" ; then
|
||||
freshUrl="$(dirname "$(getAttr downloadPage).")/$freshUrl"
|
||||
fi
|
||||
|
||||
@@ -54,6 +54,7 @@ prefetchClause=""
|
||||
eval "sed -r -e \"$(getAttr versionReferenceCreator \
|
||||
's/-([0-9.]+)[.]/-${version}./')\"" |
|
||||
eval "sed -r -e \"$(getAttr mirrorSedScript)\"")"
|
||||
url="$mirrorUrl"
|
||||
|
||||
name="$baseName-$version"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user