aboutsummaryrefslogtreecommitdiff
path: root/src/homebrew/guile-heredoc.rb
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-28 19:51:44 -0300
committerEuAndreh <eu@euandre.org>2023-03-28 19:51:44 -0300
commitc5e9b62f0193ce802955ebdc8c128a21f3ca3097 (patch)
treef8d391931516600749544d0a95b187f20967f21e /src/homebrew/guile-heredoc.rb
parentsrc/bin/paku.in: Add WIP version of Alpine support, based off of Debian (diff)
downloadpackage-repository-c5e9b62f0193ce802955ebdc8c128a21f3ca3097.tar.gz
package-repository-c5e9b62f0193ce802955ebdc8c128a21f3ca3097.tar.xz
mv Formula/ src/homebrew/
Diffstat (limited to 'src/homebrew/guile-heredoc.rb')
-rw-r--r--src/homebrew/guile-heredoc.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/homebrew/guile-heredoc.rb b/src/homebrew/guile-heredoc.rb
new file mode 100644
index 0000000..c0d42c5
--- /dev/null
+++ b/src/homebrew/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