24 lines
705 B
Ruby
24 lines
705 B
Ruby
class Pacapt < Formula
|
|
desc "Package manager in the style or Arch's pacman"
|
|
homepage "https://github.com/icy/pacapt"
|
|
url "https://github.com/icy/pacapt.git",
|
|
:revision => "70cae6c4022696decb6ac1f807a00049e589d9d4",
|
|
:tag => "v2.0.2"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "6ddfadf6010ce7caace02875e5fbd63777febfc3c4902ebe1d1e6c878af81cbb" => :yosemite
|
|
sha256 "1bef258671dfe35071155f5a22d1e95fb4f10ab0cf54d11a8e95c1108e16f404" => :mavericks
|
|
sha256 "b4fd2b945a12952653ea3bcfa70bbe60910b81ed890283531d217ff33a4ce812" => :mountain_lion
|
|
end
|
|
|
|
def install
|
|
bin.mkpath
|
|
system "make", "install", "BINDIR=#{bin}"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/pacapt", "-Ss", "wget"
|
|
end
|
|
end
|