From 3a6d17952b247682f1cb794ef27b26c9b007f00d Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Fri, 20 Oct 2023 15:53:48 +0200 Subject: Allow looking on the text page for the latest version --- Rakefile | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 9cf1c36..45a6821 100644 --- a/Rakefile +++ b/Rakefile @@ -43,27 +43,6 @@ task :hhvm, [:version] do |_, arguments| update_slackbuild_version 'development/hhvm', package.version end -task :webex do - tarball = 'slackbuilds/network/webex/Webex.deb' - uri = 'https://binaries.webex.com/WebexDesktop-Ubuntu-Official-Package/Webex.deb' - checksum = SlackBuilder.download URI(uri), tarball - - last_stdout, = Open3.pipeline_r ['ar', 'p', tarball, 'control.tar.gz'], ['tar', 'zxO', './control'] - version = last_stdout.read.lines - .find { |line| line.start_with? 'Version: ' } - .split.last - - package = Package.new 'network/webex', - version: version, - homepage: 'https://www.webex.com' - - write_info package, - downloads: [Download.new(uri, checksum, is64: true)] - - update_slackbuild_version 'network/webex', package.version - commit 'network/webex', package.version -end - AUTO_UPDATABLE = { 'dmd' => [SlackBuilder::LatestText.new('https://downloads.dlang.org/releases/LATEST')] }.freeze -- cgit v1.2.3