pngquant: use cargo install --prefix
This commit is contained in:
parent
9857ada4cf
commit
d275d1904e
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue