pngquant: use cargo install --prefix

This commit is contained in:
ilovezfs 2018-06-10 02:01:24 -07:00
parent 9857ada4cf
commit d275d1904e

View file

@ -18,8 +18,7 @@ class Pngquant < Formula
depends_on "little-cms2"
def install
system "cargo", "build", "--release"
bin.install "target/release/pngquant"
system "cargo", "install", "--root", prefix
man1.install "pngquant.1"
end