Created
January 12, 2021 03:09
-
-
Save tdsmith/22f7cb4644ce721237959a6b34c0faf0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://aur.archlinux.org/packages/goredo/ | |
class Goredo < Formula | |
desc "Go implementation of djb's redo, a Makefile replacement that sucks less" | |
homepage "http://www.goredo.cypherpunks.ru/" | |
url "http://www.goredo.cypherpunks.ru/download/goredo-0.11.0.tar.zst" | |
version "0.11.0" | |
sha256 "4608B75BC8A3DFB62EF305B5EED0F4B28AD39F64AE46BACEEA8100D90A8666F9" | |
license "GPL3" | |
depends_on "go" => :build | |
depends_on "zstd" => :build | |
def install | |
goredo_prefix = "goredo-#{version}" | |
system "tar", "--use-compress-program", "unzstd", "-xvf", "#{goredo_prefix}.tar.zst" | |
cd goredo_prefix do | |
ENV["GOPATH"] = Pathname.pwd | |
system "go", "build", *std_go_args, "go.cypherpunks.ru/goredo" | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment