summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile20
1 files changed, 0 insertions, 20 deletions
diff --git a/Rakefile b/Rakefile
index 4af411a..9cf1c36 100644
--- a/Rakefile
+++ b/Rakefile
@@ -64,27 +64,7 @@ task :webex do
commit 'network/webex', package.version
end
-task 'rdiff-backup', [:version] do |_, arguments|
- raise 'Version is not specified.' unless arguments.key? :version
-
- package = Package.new 'system/rdiff-backup',
- version: arguments[:version],
- homepage: 'https://rdiff-backup.net/',
- requires: ['librsync']
-
- uri = "https://github.com/rdiff-backup/rdiff-backup/releases/download/v#{arguments[:version]}/rdiff-backup-#{arguments[:version]}.tar.gz"
- tarball = "system/rdiff-backup/rdiff-backup-#{arguments[:version]}.tar.gz"
- checksum = SlackBuilder.download_and_deploy URI(uri), tarball
- download = "https://download.dlackware.com/hosted-sources/rdiff-backup/rdiff-backup-#{arguments[:version]}.tar.gz"
-
- write_info package, downloads: [Download.new(download, checksum)]
- update_slackbuild_version 'system/rdiff-backup', arguments[:version]
-
- commit 'system/rdiff-backup', arguments[:version]
-end
-
AUTO_UPDATABLE = {
- 'rdiff-backup' => [SlackBuilder::GitHub.new('rdiff-backup', 'rdiff-backup', 'rdiff-backup')],
'dmd' => [SlackBuilder::LatestText.new('https://downloads.dlang.org/releases/LATEST')]
}.freeze