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