akku 1.1.0 (new formula)

* Adds a package for the Akku Scheme package manager
* akku 1.1.0 (new formula)

Closes #117156.

Co-authored-by: Rui Chen <rui@chenrui.dev>
Signed-off-by: Rui Chen <rui@chenrui.dev>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
weekOldRoadkill 2022-12-01 01:17:03 -05:00 committed by BrewTestBot
parent 7dbdaea6fa
commit 06f00f97d6
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 26 additions and 0 deletions

26
Formula/akku.rb Normal file
View File

@ -0,0 +1,26 @@
class Akku < Formula
desc "Package manager for Scheme"
homepage "https://akkuscm.org/"
url "https://gitlab.com/akkuscm/akku/uploads/819fd1f988c6af5e7df0dfa70aa3d3fe/akku-1.1.0.tar.gz"
sha256 "12decdc8a2caba0f67dfcd57b65e4643037757e86da576408d41a5c487552c08"
license "GPL-3.0-or-later"
head "https://gitlab.com/akkuscm/akku.git", branch: "master"
depends_on "pkg-config" => :build
depends_on "guile"
def install
system "./configure", *std_configure_args, "--disable-silent-rules"
system "make"
system "make", "install"
end
test do
system bin/"akku", "init", "brewtest"
assert_predicate testpath/"brewtest/brewtest.sls", :exist?
assert_match "akku-package (\"brewtest\"",
(testpath/"brewtest/Akku.manifest").read
assert_match "Akku.scm #{version}", shell_output("#{bin}/akku --help 2>&1")
end
end