diff options
author | EuAndreh <eu@euandre.org> | 2022-01-19 09:22:30 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-01-19 09:22:30 -0300 |
commit | e87e58b1d8d70e6457e1f513a50da6c2510f4f58 (patch) | |
tree | 5da924b6288a5f3ae915923f900fff2735f9f0f0 /Formula/git-permalink-latest.rb | |
parent | scripts/paku: Update $TARBALL_TEMPLATE URL (diff) | |
download | package-repository-e87e58b1d8d70e6457e1f513a50da6c2510f4f58.tar.gz package-repository-e87e58b1d8d70e6457e1f513a50da6c2510f4f58.tar.xz |
Update all package definitions
Diffstat (limited to 'Formula/git-permalink-latest.rb')
-rw-r--r-- | Formula/git-permalink-latest.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Formula/git-permalink-latest.rb b/Formula/git-permalink-latest.rb new file mode 100644 index 0000000..f37052f --- /dev/null +++ b/Formula/git-permalink-latest.rb @@ -0,0 +1,17 @@ +class Git-permalinkLatest < Formula + desc 'Git extension to generate web permalinks of files in a repository' + homepage 'https://git-permalink.euandreh.xyz' + url 'https://euandreh.xyz/git-permalink.git/snapshot/git-permalink-1fe660600ad142279f34112be15dad418fe6a785.tar.gz' + sha256 'cb296fce0c83d76da6f59780d83d0fdf47dd4fa2603919f4a3ccf92e991262c0' + license 'AGPL-3.0-or-later' + + def install + system 'make' + system 'make', 'check' + system 'make', 'install', "PREFIX=#{prefix}" + end + + test do + system "#{bin}/git-permalink", '-V' + end +end |