mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
25 lines
765 B
Ruby
25 lines
765 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.81.0.268'
|
|
license 'Skype-TOS'
|
|
compatibility 'x86_64'
|
|
source_url 'https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_8.81.0.268_amd64.deb'
|
|
source_sha256 '32a5cb2be01d6244154de4e3ba5f43aeeefce7dec5b93851515abbff2f456145'
|
|
|
|
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
|