From 1e99186b9dcc75595b525a8aa93bd9fee70c323e Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 21 Feb 2021 19:48:17 -0300 Subject: Support -latest (main branch) and tagged releases --- Formula/autoqemu-latest.rb | 18 ++++++++++++++++++ Formula/autoqemu.rb | 4 ++-- Formula/fallible-latest.rb | 16 ++++++++++++++++ Formula/fallible.rb | 4 ++-- Formula/remembering-latest.rb | 18 ++++++++++++++++++ Formula/remembering.rb | 4 ++-- 6 files changed, 58 insertions(+), 6 deletions(-) create mode 100644 Formula/autoqemu-latest.rb create mode 100644 Formula/fallible-latest.rb create mode 100644 Formula/remembering-latest.rb (limited to 'Formula') diff --git a/Formula/autoqemu-latest.rb b/Formula/autoqemu-latest.rb new file mode 100644 index 0000000..a153824 --- /dev/null +++ b/Formula/autoqemu-latest.rb @@ -0,0 +1,18 @@ +class AutoqemuLatest < Formula + desc 'Installation and setup automation tool for QEMU virtual machines' + homepage 'https://autoqemu.euandreh.xyz' + url 'https://git.euandreh.xyz/autoqemu/snapshot/autoqemu-a62d3425d91bb65ab883d8487fc73431a22487d4.tar.gz' + sha256 '8a2d95966d7ebe2cf8af928c8807a42a84e45111e60840fdf5737e17a987900a' + license 'AGPL-3.0-or-later' + + def install + system './configure', "--prefix=#{prefix}" + system 'make' + system 'make', 'check' + system 'make', 'install' + end + + test do + system "#{bin}/autoqemu", '-V' + end +end diff --git a/Formula/autoqemu.rb b/Formula/autoqemu.rb index 1f83094..33fee90 100644 --- a/Formula/autoqemu.rb +++ b/Formula/autoqemu.rb @@ -1,8 +1,8 @@ class Autoqemu < Formula desc 'Installation and setup automation tool for QEMU virtual machines' homepage 'https://autoqemu.euandreh.xyz' - url 'https://git.euandreh.xyz/autoqemu/snapshot/autoqemu-4d1a0b6314c4f6fcf31f80e608f6b03a316a7255.tar.gz' - sha256 'fd501b421c8e562d957a38c83ea42173b5e9dc9b1bb9cef300aee48088fe3afe' + url 'https://git.euandreh.xyz/autoqemu/snapshot/autoqemu-a62d3425d91bb65ab883d8487fc73431a22487d4.tar.gz' + sha256 '8a2d95966d7ebe2cf8af928c8807a42a84e45111e60840fdf5737e17a987900a' license 'AGPL-3.0-or-later' def install diff --git a/Formula/fallible-latest.rb b/Formula/fallible-latest.rb new file mode 100644 index 0000000..fa0668e --- /dev/null +++ b/Formula/fallible-latest.rb @@ -0,0 +1,16 @@ +class FallibleLatest < Formula + desc 'Fault injection library for stress-testing failure scenarios' + homepage 'https://fallible.euandreh.xyz' + url 'https://git.euandreh.xyz/fallible/snapshot/fallible-db1527a0d72471d702e0ec4609ce67ef7df73b41.tar.gz' + sha256 'ebe9517b415407766fbafe7d9cb725bc8f32ab79151c48e1bf4b69f773aeccef' + license 'AGPL-3.0-or-later' + + depends_on 'valgrind' => :build + + def install + system './configure', "--prefix=#{prefix}" + system 'make' + system 'make', 'check' + system 'make', 'install' + end +end diff --git a/Formula/fallible.rb b/Formula/fallible.rb index 53d2177..0fbdf1d 100644 --- a/Formula/fallible.rb +++ b/Formula/fallible.rb @@ -1,8 +1,8 @@ class Fallible < Formula desc 'Fault injection library for stress-testing failure scenarios' homepage 'https://fallible.euandreh.xyz' - url 'https://git.euandreh.xyz/fallible/snapshot/fallible-66a2ee41beaaffb9a9a6b521837c0967528845fa.tar.gz' - sha256 'da5c6e7ef4de276424b28095fde09b029af0b9eccaf91e8ab477bf2bc8b1b95e' + url 'https://git.euandreh.xyz/fallible/snapshot/fallible-0.2.0.tar.gz' + sha256 '661eac346c956d2e3536ed2411dda76893f11cb9e68996b9dcd13d98573f2b44' license 'AGPL-3.0-or-later' depends_on 'valgrind' => :build diff --git a/Formula/remembering-latest.rb b/Formula/remembering-latest.rb new file mode 100644 index 0000000..9a1b33a --- /dev/null +++ b/Formula/remembering-latest.rb @@ -0,0 +1,18 @@ +class RememberingLatest < Formula + desc 'Add memory to dmenu, fzf and similar tools.' + homepage 'https://remembering.euandreh.xyz' + url 'https://git.euandreh.xyz/remembering/snapshot/remembering-3c4e5879b47ed18838352e567cd26beed9361acc.tar.gz' + sha256 'b072df907f68efca62dcd81c58b47bfbdc5ea85f8a82dcb76dd89fb246af5b7d' + license 'AGPL-3.0-or-later' + + def install + system './configure', "--prefix=#{prefix}" + system 'make' + system 'make', 'check' + system 'make', 'install' + end + + test do + system "#{bin}/remembering", '-V' + end +end diff --git a/Formula/remembering.rb b/Formula/remembering.rb index 1007a0d..a2b4f22 100644 --- a/Formula/remembering.rb +++ b/Formula/remembering.rb @@ -1,8 +1,8 @@ class Remembering < Formula desc 'Add memory to dmenu, fzf and similar tools.' homepage 'https://remembering.euandreh.xyz' - url 'https://git.euandreh.xyz/remembering/snapshot/remembering-793b782617b0667eefa938a836f24d8a5e087bb0.tar.gz' - sha256 '0049501383ce7fc4d42a406f8193e1f05ff3e9a3dce3a9e40e56d9997f96f691' + url 'https://git.euandreh.xyz/remembering/snapshot/remembering-0.2.0.tar.gz' + sha256 '2ca3033defb5af91f574afd5a487cf0c4acca536dff731244f40b8130fa35612' license 'AGPL-3.0-or-later' def install -- cgit v1.2.3