homebrew-core/Formula/pacapt.rb

21 lines
573 B
Ruby

class Pacapt < Formula
desc "Package manager in the style of Arch's pacman"
homepage "https://github.com/icy/pacapt"
url "https://github.com/icy/pacapt/archive/v3.0.5.tar.gz"
sha256 "c68cd6b8367934f58ab06a131dfbc91ab12ada2baee92ad4246b56729e9cad8d"
license "Fair"
bottle do
sha256 cellar: :any_skip_relocation, all: "66501577cae5a7e78e5dc537df750c883d63fdd6555eef9e4d693b3b264aed71"
end
def install
bin.mkpath
system "make", "install", "BINDIR=#{bin}", "VERSION=#{version}"
end
test do
system "#{bin}/pacapt", "-Ss", "wget"
end
end