From baefa645062d36d5f335f05bb7377ccc21a017c9 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 29 Mar 2023 07:50:24 -0300 Subject: Revert "mv Formula/ src/homebrew/" This reverts commit c5e9b62f0193ce802955ebdc8c128a21f3ca3097. The "Formula/" path is indeed hardcoded: https://github.com/Homebrew/brew//blob/fb70af3977b9599f561b05a6237912bf87aa7014/Library/Homebrew/formula_path.sh#L52 --- Formula/git-permalink-0-1-0.rb | 17 +++++++++++++++++ Formula/git-permalink-0-2-0.rb | 17 +++++++++++++++++ Formula/guile-heredoc.rb | 17 +++++++++++++++++ Formula/remembering-0-1-2.rb | 17 +++++++++++++++++ Formula/td.rb | 17 +++++++++++++++++ 5 files changed, 85 insertions(+) create mode 100644 Formula/git-permalink-0-1-0.rb create mode 100644 Formula/git-permalink-0-2-0.rb create mode 100644 Formula/guile-heredoc.rb create mode 100644 Formula/remembering-0-1-2.rb create mode 100644 Formula/td.rb (limited to 'Formula') diff --git a/Formula/git-permalink-0-1-0.rb b/Formula/git-permalink-0-1-0.rb new file mode 100644 index 0000000..fc4f728 --- /dev/null +++ b/Formula/git-permalink-0-1-0.rb @@ -0,0 +1,17 @@ +class GitPermalink010 < Formula + desc 'Git extension to generate web permalinks of files in a repository' + homepage 'https://euandre.org/s/git-permalink/' + url 'https://euandre.org/git/git-permalink/snapshot/git-permalink-v0.1.0.tar.xz' + sha256 '252c98e349fed8df180ace540675b69a811ff56a9f06fa505eb475e047648a1f' + license 'AGPL-3.0-or-later' + + def install + system 'make', "PREFIX=#{prefix}" + system 'make', 'check', "PREFIX=#{prefix}" + system 'make', 'install', "PREFIX=#{prefix}" + end + + test do + system "#{bin}/git-permalink", '-V' + end +end diff --git a/Formula/git-permalink-0-2-0.rb b/Formula/git-permalink-0-2-0.rb new file mode 100644 index 0000000..b236c0e --- /dev/null +++ b/Formula/git-permalink-0-2-0.rb @@ -0,0 +1,17 @@ +class GitPermalink020 < Formula + desc 'Git extension to generate web permalinks of files in a repository' + homepage 'https://euandre.org/s/git-permalink/' + url 'https://euandre.org/git/git-permalink/snapshot/git-permalink-v0.2.0.tar.xz' + sha256 '9ea6562812f6127771bc2b86919ea63056fcc0f5c1e556875855c924ee8b1183' + license 'AGPL-3.0-or-later' + + def install + system 'make', "PREFIX=#{prefix}" + system 'make', 'check', "PREFIX=#{prefix}" + system 'make', 'install', "PREFIX=#{prefix}" + end + + test do + system "#{bin}/git-permalink", '-V' + end +end diff --git a/Formula/guile-heredoc.rb b/Formula/guile-heredoc.rb new file mode 100644 index 0000000..c0d42c5 --- /dev/null +++ b/Formula/guile-heredoc.rb @@ -0,0 +1,17 @@ +class GuileHeredoc < Formula + desc 'Guile heredoc syntax' + homepage 'https://euandre.org/s/guile-heredoc/' + url 'https://euandre.org/git/guile-heredoc/snapshot/guile-heredoc-065435cdce609604e33b879b9be3e81ab89f3e7b.tar.xz' + sha256 '4d6e5171f36d48ab2341cc9e3346262f9ec7c9f0fd3d88ec6e204ef2160821f8' + license 'AGPL-3.0-or-later' + + def install + system 'make', "PREFIX=#{prefix}" + system 'make', 'check', "PREFIX=#{prefix}" + system 'make', 'install', "PREFIX=#{prefix}" + end + + test do + system "#{bin}/guile-heredoc", '-V' + end +end diff --git a/Formula/remembering-0-1-2.rb b/Formula/remembering-0-1-2.rb new file mode 100644 index 0000000..2f072d3 --- /dev/null +++ b/Formula/remembering-0-1-2.rb @@ -0,0 +1,17 @@ +class Remembering012 < Formula + desc 'Add memory to dmenu, fzf and similar tools' + homepage 'https://euandre.org/s/remembering/' + url 'https://euandre.org/git/remembering/snapshot/remembering-v0.1.2.tar.xz' + sha256 'bbf0fd451d3de3b09a01cfbcc74482741463f9d8ac73ba6024e538c203b1dfeb' + license 'AGPL-3.0-or-later' + + def install + system 'make', "PREFIX=#{prefix}" + system 'make', 'check', "PREFIX=#{prefix}" + system 'make', 'install', "PREFIX=#{prefix}" + end + + test do + system "#{bin}/remembering", '-V' + end +end diff --git a/Formula/td.rb b/Formula/td.rb new file mode 100644 index 0000000..eeb58d2 --- /dev/null +++ b/Formula/td.rb @@ -0,0 +1,17 @@ +class Td < Formula + desc 'Minimalistic bug tracker CLI' + homepage 'https://euandre.org/s/td/' + url 'https://euandre.org/git/td/snapshot/td-4a8a7a2662c94b2581f587e9a4b81feba4f5e7d8.tar.xz' + sha256 'a25561ae8062788bfb79df2de5f26e5f1100638fbeabff934490cdf0a9dde105' + license 'AGPL-3.0-or-later' + + def install + system 'make', "PREFIX=#{prefix}" + system 'make', 'check', "PREFIX=#{prefix}" + system 'make', 'install', "PREFIX=#{prefix}" + end + + test do + system "#{bin}/td", '-V' + end +end -- cgit v1.2.3