2015-03-30 11:56:50 +00:00
|
|
|
class Pacapt < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Package manager in the style or Arch's pacman"
|
2015-03-30 11:56:50 +00:00
|
|
|
homepage "https://github.com/icy/pacapt"
|
|
|
|
url "https://github.com/icy/pacapt.git",
|
|
|
|
:revision => "70cae6c4022696decb6ac1f807a00049e589d9d4",
|
|
|
|
:tag => "v2.0.2"
|
|
|
|
|
2015-04-28 11:00:56 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha256 "6ddfadf6010ce7caace02875e5fbd63777febfc3c4902ebe1d1e6c878af81cbb" => :yosemite
|
|
|
|
sha256 "1bef258671dfe35071155f5a22d1e95fb4f10ab0cf54d11a8e95c1108e16f404" => :mavericks
|
|
|
|
sha256 "b4fd2b945a12952653ea3bcfa70bbe60910b81ed890283531d217ff33a4ce812" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2015-03-30 11:56:50 +00:00
|
|
|
def install
|
|
|
|
bin.mkpath
|
|
|
|
system "make", "install", "BINDIR=#{bin}"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/pacapt", "-Ss", "wget"
|
|
|
|
end
|
|
|
|
end
|