Commit d92cdc6a authored by satmandu's avatar satmandu Committed by GitHub

Merge pull request #4816 from uberhacker/update-skype-package

Update skype from 8.65.0.78 to 8.68.76.35
parents 305ad265 4a904897
...@@ -3,7 +3,7 @@ require 'package' ...@@ -3,7 +3,7 @@ require 'package'
class Skype < Package class Skype < Package
description 'Skype is a telecommunications application that specializes in providing video chat and voice calls between devices' description 'Skype is a telecommunications application that specializes in providing video chat and voice calls between devices'
homepage 'https://www.skype.com/' homepage 'https://www.skype.com/'
version '8.65.0.78' version '8.68.76.35'
compatibility 'x86_64' compatibility 'x86_64'
case ARCH case ARCH
when 'x86_64' when 'x86_64'
...@@ -14,10 +14,17 @@ class Skype < Package ...@@ -14,10 +14,17 @@ class Skype < Package
depends_on 'sommelier' depends_on 'sommelier'
end end
binary_url ({
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/skype-8.68.76.35-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
x86_64: 'a81fe08610a71e5b3f1b9d45384c58a405ec6c94f36a88ec0dd7d257240feb26',
})
def self.build def self.build
system 'curl https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_8.65.0.78_amd64.deb -#o skype.deb' system 'curl https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_8.68.76.35_amd64.deb -#o skype.deb'
puts "Archive downloaded".lightgreen puts "Archive downloaded".lightgreen
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('skype.deb') ) == '9026f043697d7d0783e7232701a868229d9a91e91dc0ae86509732c1c7bf0c13' abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('skype.deb') ) == '701449b86ff1c10ee800cc017033c7c2e9b31023fcc1a9058590babf070ce3bb'
system 'alien -tc skype.deb' system 'alien -tc skype.deb'
system "tar xvf skypeforlinux-#{version}.tgz" system "tar xvf skypeforlinux-#{version}.tgz"
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment