diff options
| author | Jack Nagel | 2014-03-25 10:54:36 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-25 10:54:45 -0500 |
| commit | fb7a8d7943e3cfe263692fb296c1ca73c81c9e89 (patch) | |
| tree | ee1527534c2e309faad2eeb94aa4b76161e7320b /Library | |
| parent | c21a25aced36af997b36805625260ab42dbca969 (diff) | |
| download | homebrew-fb7a8d7943e3cfe263692fb296c1ca73c81c9e89.tar.bz2 | |
libspotify: use install_symlink
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libspotify.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Library/Formula/libspotify.rb b/Library/Formula/libspotify.rb index fae30f80b..af7b5552a 100644 --- a/Library/Formula/libspotify.rb +++ b/Library/Formula/libspotify.rb @@ -11,12 +11,8 @@ class Libspotify < Formula doc.install Dir['docs/*'] doc.install %w(ChangeLog README LICENSE licenses.xhtml examples) man3.install Dir['man3/*'] - - lib.cd do - ln_s "libspotify.12.1.51.dylib", "libspotify.dylib" - ln_s "libspotify.12.1.51.dylib", "libspotify.12.dylib" - end - + lib.install_symlink "libspotify.12.1.51.dylib" => "libspotify.dylib" + lib.install_symlink "libspotify.12.1.51.dylib" => "libspotify.12.dylib" (lib+'pkgconfig/libspotify.pc').write pc_file end |
