18 lines
732 B
Ruby
18 lines
732 B
Ruby
class Pacman4console < Formula
|
|
desc "Pacman for console"
|
|
homepage "https://sites.google.com/site/doctormike/pacman.html"
|
|
url "https://sites.google.com/site/doctormike/pacman-1.3.tar.gz"
|
|
sha256 "9a5c4a96395ce4a3b26a9896343a2cdf488182da1b96374a13bf5d811679eb90"
|
|
|
|
bottle do
|
|
sha256 "496938f00189695a57af2ef862b97c237d8bcf4c422b8e1d24c309cb8e83d0cd" => :sierra
|
|
sha256 "713a6a48016edcd709c27f84c5e743a0f95f95a3d01da7303a2562b2f3dee68d" => :el_capitan
|
|
sha256 "0177bce0045d06947a44cd810e3af8abdf2853981fe8564782a83474fc45f727" => :yosemite
|
|
end
|
|
|
|
def install
|
|
system "make", "prefix=#{prefix}", "datarootdir=#{pkgshare}"
|
|
bin.install ["pacman", "pacmanedit"]
|
|
(pkgshare+"pacman").install "Levels"
|
|
end
|
|
end
|