Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 4 additions & 18 deletions Formula/readline.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,10 @@
class Readline < Formula
desc "Library for command-line editing"
homepage "https://tiswww.case.edu/php/chet/readline/rltop.html"
url "https://ftp.gnu.org/gnu/readline/readline-8.0.tar.gz"
mirror "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz"
version "8.0.4"
sha256 "e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461"
license "GPL-3.0"

%w[
001 d8e5e98933cf5756f862243c0601cb69d3667bb33f2c7b751fe4e40b2c3fd069
002 36b0febff1e560091ae7476026921f31b6d1dd4c918dcb7b741aa2dad1aec8f7
003 94ddb2210b71eb5389c7756865d60e343666dfb722c85892f8226b26bb3eeaef
004 b1aa3d2a40eee2dea9708229740742e649c32bb8db13535ea78f8ac15377394c
].each_slice(2) do |p, checksum|
patch :p0 do
url "https://ftp.gnu.org/gnu/readline/readline-8.0-patches/readline80-#{p}"
mirror "https://ftpmirror.gnu.org/readline/readline-8.0-patches/readline80-#{p}"
sha256 checksum
end
end
url "https://ftp.gnu.org/gnu/readline/readline-8.1.tar.gz"
mirror "https://ftpmirror.gnu.org/readline/readline-8.1.tar.gz"
sha256 "f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02"
license "GPL-3.0-or-later"

livecheck do
url "http://www.ravenports.com/catalog/bucket_2D/readline/standard/"
Expand Down