diff options
author | EuAndreh <eu@euandre.org> | 2023-03-29 07:50:24 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-29 09:03:06 -0300 |
commit | baefa645062d36d5f335f05bb7377ccc21a017c9 (patch) | |
tree | 5ab70b5c0a4d1e45ec195f37d9ff70c207410862 /Formula/git-permalink-0-1-0.rb | |
parent | mv Formula/ src/homebrew/ (diff) | |
download | package-repository-baefa645062d36d5f335f05bb7377ccc21a017c9.tar.gz package-repository-baefa645062d36d5f335f05bb7377ccc21a017c9.tar.xz |
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
Diffstat (limited to 'Formula/git-permalink-0-1-0.rb')
-rw-r--r-- | Formula/git-permalink-0-1-0.rb | 17 |
1 files changed, 17 insertions, 0 deletions
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 |