aboutsummaryrefslogtreecommitdiff
path: root/skype/skype.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'skype/skype.SlackBuild')
-rwxr-xr-xskype/skype.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/skype/skype.SlackBuild b/skype/skype.SlackBuild
index dcaa8f81..e5550d89 100755
--- a/skype/skype.SlackBuild
+++ b/skype/skype.SlackBuild
@@ -18,8 +18,9 @@ fi
# o seu md5sum
SRC_ORIG="skype_staticQT-1.3.0.53-generic.tar.bz2"
MD5_ORIG="9ca128f45c73cd76862260bc6b9f196c"
-VERSION_ORIG="1.3.0.53"
-EXTENSION=`echo $SRC_ORIG | sed 's/\(.*\)_.*-\(.*\)-generic\.\(.*\)$/\3/'`
+PACKAGE_ORIG=`echo $SRC_ORIG | sed -r 's/(.*)_staticQT-(.*)-.*\.(.*\..*)$/\1/'`
+VERSION_ORIG=`echo $SRC_ORIG | sed -r 's/(.*)_staticQT-(.*)-.*\.(.*\..*)$/\2/'`
+ EXTENSION=`echo $SRC_ORIG | sed -r 's/(.*)_staticQT-(.*)-.*\.(.*\..*)$/\3/'`
# ------- Códigos de erro para o createpkg --------------
ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
@@ -28,7 +29,7 @@ ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
ERROR_PATCH=40; ERROR_VCS=41
# --------- Inicializa variáveis de entrada -------------
-PACKAGE="skype"
+PACKAGE=$PACKAGE_ORIG
ARCH=${ARCH:=i468}
SRC_DIR=${SRC:=$CWD}
VERSION=${VERSION:=$VERSION_ORIG}