mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
27 lines
786 B
Ruby
27 lines
786 B
Ruby
require 'package'
|
|
|
|
class Skype < Package
|
|
description 'Skype is a telecommunications application that specializes in providing video chat and voice calls between devices'
|
|
homepage 'https://www.skype.com/'
|
|
version '8.87.0.406'
|
|
license 'Skype-TOS'
|
|
compatibility 'x86_64'
|
|
source_url "https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_#{version}_amd64.deb"
|
|
source_sha256 '9569d021d3267f3f74877b4e5a442fd2fa371e7462df3e96dbbbcadbcf8ab23a'
|
|
|
|
no_compile_needed
|
|
|
|
depends_on 'gtk3'
|
|
depends_on 'sommelier'
|
|
|
|
def self.install
|
|
FileUtils.mkdir_p CREW_DEST_PREFIX
|
|
FileUtils.ln_s './skypeforlinux', 'usr/bin/skype'
|
|
FileUtils.mv Dir['usr/*'], CREW_DEST_PREFIX
|
|
end
|
|
|
|
def self.postinstall
|
|
puts "\nType 'skype' to get started.\n".lightblue
|
|
end
|
|
end
|