Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=0d71e4c0e4de13b4f5bbb848e72cc4b047249d89
commit 0d71e4c0e4de13b4f5bbb848e72cc4b047249d89 Author: Baste <ba...@frugalware.org> Date: Mon Dec 5 16:24:29 2011 +0100 * Add _F_gnome_ext ( default= .tar.bz2 ) diff --git a/source/include/gnome.sh b/source/include/gnome.sh index d107158..0e2751e 100644 --- a/source/include/gnome.sh +++ b/source/include/gnome.sh @@ -32,6 +32,7 @@ # * _F_gnome_devel: if set, the <number>.<odd> versions will not be ignored. # This is something you want for packages which are not part of GNOME releases # (like intltool) and where the <odd> number does not mean instability. +# * _F_gnome_ext (defaults to .tar.bz2): extension of the source tarball ### if [ -z "$_F_gnome_name" ]; then @@ -46,6 +47,10 @@ if [ -z "$_F_gnome_git" ]; then _F_gnome_git="n" fi +if [ -z "$_F_gnome_ext" ]; then + _F_gnome_ext=.tar.bz2 +fi + # don't document this function, it's used only for source() _F_gnome_getver() { @@ -90,7 +95,7 @@ if [ "$_F_gnome_git" != "n" ]; then _F_scm_type="git" _F_scm_url="git://git.gnome.org/$_F_gnome_name" else - source=(http://ftp.gnome.org/pub/gnome/sources/$_F_gnome_name/`_F_gnome_getver`/$_F_gnome_name-$pkgver.tar.bz2) + source=(http://ftp.gnome.org/pub/gnome/sources/$_F_gnome_name/`_F_gnome_getver`/$_F_gnome_name-$pkgver$_F_gnome_ext) fi url="http://www.gnome.org/" _F_cd_path=$_F_gnome_name-$pkgver _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git