timidity: use pkgshare (#11798)

This commit is contained in:
ilovezfs 2017-03-29 04:35:05 -07:00 committed by GitHub
parent 55528a2efb
commit 4ee631a6f1

View file

@ -48,9 +48,9 @@ class Timidity < Formula
if build.with? "freepats"
(share/"freepats").install resource("freepats")
(share/"timidity").install_symlink share/"freepats/Tone_000",
share/"freepats/Drum_000",
share/"freepats/freepats.cfg" => "timidity.cfg"
pkgshare.install_symlink share/"freepats/Tone_000",
share/"freepats/Drum_000",
share/"freepats/freepats.cfg" => "timidity.cfg"
end
end