aboutsummaryrefslogtreecommitdiff
path: root/Formula/guile-heredoc.rb
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-22 12:11:24 -0300
committerEuAndreh <eu@euandre.org>2023-03-22 15:51:52 -0300
commitb3ccc398cfd30ad9e243a041933204ea2e567535 (patch)
tree84ec606d88ace7e9d782d8e954b32d5d73bd6369 /Formula/guile-heredoc.rb
parentsrc/bin/paku: Get Base64 from paku.lock instead of calculating it (diff)
downloadpackages-b3ccc398cfd30ad9e243a041933204ea2e567535.tar.gz
packages-b3ccc398cfd30ad9e243a041933204ea2e567535.tar.xz
Support Homebrew
Diffstat (limited to 'Formula/guile-heredoc.rb')
-rw-r--r--Formula/guile-heredoc.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Formula/guile-heredoc.rb b/Formula/guile-heredoc.rb
new file mode 100644
index 0000000..3f24ecf
--- /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'
+ system 'make', 'check'
+ system 'make', 'install', "PREFIX=#{prefix}"
+ end
+
+ test do
+ system "#{bin}/guile-heredoc", '-V'
+ end
+end