summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2017-11-29 11:31:43 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-02 06:31:13 +0700
commit5ca7541a7a22f802f5160792476d30402175cc69 (patch)
treec06490f26af4ba267426e6a5315738035041cfcc
parent8a6efbb1cc8f8d4d951e424da893d355bed8d438 (diff)
downloadslackbuilds-5ca7541a7a22f802f5160792476d30402175cc69.tar.gz
network/skypeforlinux: Updated for version 8.11.0.4.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
-rw-r--r--network/skypeforlinux/skypeforlinux.SlackBuild11
-rw-r--r--network/skypeforlinux/skypeforlinux.info6
2 files changed, 12 insertions, 5 deletions
diff --git a/network/skypeforlinux/skypeforlinux.SlackBuild b/network/skypeforlinux/skypeforlinux.SlackBuild
index e6c1a31704..ffcca6e8b1 100644
--- a/network/skypeforlinux/skypeforlinux.SlackBuild
+++ b/network/skypeforlinux/skypeforlinux.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=skypeforlinux
-VERSION=${VERSION:-8.11.76.8}
+VERSION=${VERSION:-8.11.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -50,7 +50,14 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
-ar p $CWD/${PRGNAM}_${VERSION}_amd64.deb data.tar.xz | tar -xvJ
+if [ -f $CWD/${PRGNAM}_${VERSION}_amd64.deb ]; then
+ ar p $CWD/${PRGNAM}_${VERSION}_amd64.deb data.tar.xz | tar -xvJ
+elif [ -f $CWD/${PRGNAM}-64.deb ]; then
+ # Support the website download
+ ar p $CWD/${PRGNAM}-64.deb data.tar.xz | tar -xvJ
+ VERSION=$(ar p $CWD/${PRGNAM}-64.deb control.tar.gz \
+ | tar -Ozxf - ./control | awk '/^Version:/{print $NF}')
+fi
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/network/skypeforlinux/skypeforlinux.info b/network/skypeforlinux/skypeforlinux.info
index 749776fadb..69ddb4fbe5 100644
--- a/network/skypeforlinux/skypeforlinux.info
+++ b/network/skypeforlinux/skypeforlinux.info
@@ -1,10 +1,10 @@
PRGNAM="skypeforlinux"
-VERSION="8.11.76.8"
+VERSION="8.11.0.4"
HOMEPAGE="https://www.skype.com/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_8.11.76.8_amd64.deb"
-MD5SUM_x86_64="9abc14842232868aae31456667a5eb15"
+DOWNLOAD_x86_64="https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_8.11.0.4_amd64.deb"
+MD5SUM_x86_64="70a34a452c9d8cd8c841c0409d368174"
REQUIRES=""
MAINTAINER="Mario Preksavec"
EMAIL="mario at slackware dot hr"