29 lines
1.4 KiB
Ruby
29 lines
1.4 KiB
Ruby
class Poster < Formula
|
|
desc "Create large posters out of PostScript pages"
|
|
homepage "https://schrfr.github.io/poster/"
|
|
url "https://github.com/schrfr/poster/archive/1.0.0.tar.gz"
|
|
sha256 "1df49dfd4e50ffd66e0b6e279b454a76329a36280e0dc73b08e5b5dcd5cff451"
|
|
license "GPL-2.0"
|
|
|
|
bottle do
|
|
sha256 cellar: :any_skip_relocation, arm64_big_sur: "ebf74df79fee5779f0a6631c938af2db579bfdf27c077fadcca06f21579bfee1"
|
|
sha256 cellar: :any_skip_relocation, big_sur: "1dfc4b7649d3ad9c7b22693d9dd966c395a11385c6f5ecea07ab879972f5845f"
|
|
sha256 cellar: :any_skip_relocation, catalina: "e0afaa430ab84862c5a481145e73affbb572c008c1b40d6b8cd93eb465163b4e"
|
|
sha256 cellar: :any_skip_relocation, mojave: "110db1120ca8bcf6b68f14cfb24cf92f0027b6897fb9a44a8c067f4feca54182"
|
|
sha256 cellar: :any_skip_relocation, high_sierra: "74db7055649cd3f68316b99db48139641f916b4434008300f2bfcd1146f92c77"
|
|
sha256 cellar: :any_skip_relocation, sierra: "caa5474e5d7baf13ae6495c01a7530146d55531e41c88a469b0e44ee892c4be4"
|
|
sha256 cellar: :any_skip_relocation, el_capitan: "07702fc6f1d43a3875637f8ff9d3509d6eb913abda301c24c23d824a76a858b6"
|
|
sha256 cellar: :any_skip_relocation, yosemite: "718131fa123a69d0db610d95722d968fbda597da2477abe520146393ff0321c2"
|
|
end
|
|
|
|
def install
|
|
system "make"
|
|
bin.install "poster"
|
|
man1.install "poster.1"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/poster", test_fixtures("test.ps")
|
|
end
|
|
end
|