aboutsummaryrefslogtreecommitdiff
path: root/gnome/base/gail/gail.mkbuild
diff options
context:
space:
mode:
Diffstat (limited to 'gnome/base/gail/gail.mkbuild')
-rw-r--r--gnome/base/gail/gail.mkbuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnome/base/gail/gail.mkbuild b/gnome/base/gail/gail.mkbuild
index cfeb361..8e0e481 100644
--- a/gnome/base/gail/gail.mkbuild
+++ b/gnome/base/gail/gail.mkbuild
@@ -12,7 +12,7 @@
#------------------------
#
# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
-[[DOWNLOAD FOLDER URL]]="http://ftp.acc.umu.se/pub/gnome/sources/gail/1.20/gail-1.20.1.tar.bz2"
+[[DOWNLOAD FOLDER URL]]="http://ftp.acc.umu.se/pub/gnome/sources/$SRC_NAME/$SUB_VERSION/gail-1.22.0.tar.bz2"
# Source base name. if different from package name. Null ("") to default value.
# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
@@ -148,3 +148,11 @@ gail: e.g a screenreader, to query or drive the program.
gail:
gail:
#<slackdesc
+
+#p>
+ # Dowload source if necessary
+ SRC="[[SOURCE NAME CONSTRUCTION STRING]]"
+-URL="[[DOWNLOAD FOLDER URL]]/$SRC"
++SUB_VERSION=`echo $PKG_VERSION | sed 's/\(^[0-9]\+\.[0-9]\+\)\..*$/\1/'`
++URL="http://ftp.gnome.org/pub/gnome/sources/$PKG_NAME/$SUB_VERSION/$SRC"
+#p<