28 lines
1.1 KiB
Ruby
28 lines
1.1 KiB
Ruby
class Sl < Formula
|
|
desc "Prints a steam locomotive if you type sl instead of ls"
|
|
homepage "https://github.com/mtoyoda/sl"
|
|
url "https://github.com/mtoyoda/sl/archive/5.02.tar.gz"
|
|
sha256 "1e5996757f879c81f202a18ad8e982195cf51c41727d3fea4af01fdcbbb5563a"
|
|
head "https://github.com/mtoyoda/sl.git"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "31b8e67d984635b74aec3a5b47b6145789ed9c09d065751cac862eec1386502d" => :catalina
|
|
sha256 "e489648bcc7eff8f065855dcc891eb55f3793a5ff464d96726e313a1bc74d00f" => :mojave
|
|
sha256 "627b0b5f8027f876466d03038da7dd0d75804cccc3bbcf45f0fe9c91199be3c3" => :high_sierra
|
|
sha256 "afd30cb3a99d238a8ac52810834244d5f47fc2ff597db9ad61012bd2014395b9" => :sierra
|
|
sha256 "f186cb86f4d48929aa671434dbd6be0a861069608098a30dc952697bcca85972" => :el_capitan
|
|
sha256 "696104243a18e08279d461e66e6a696791e6c36b67df43e361ad6f6de1200440" => :yosemite
|
|
sha256 "c7d4432bfc169f7338eeb0c8300a975495b229d6e85bfff4fdd6bbd11eb8da17" => :mavericks
|
|
end
|
|
|
|
def install
|
|
system "make", "-e"
|
|
bin.install "sl"
|
|
man1.install "sl.1"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/sl", "-c"
|
|
end
|
|
end
|