aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-25 10:54:36 -0500
committerJack Nagel2014-03-25 10:54:45 -0500
commitfb7a8d7943e3cfe263692fb296c1ca73c81c9e89 (patch)
treeee1527534c2e309faad2eeb94aa4b76161e7320b /Library
parentc21a25aced36af997b36805625260ab42dbca969 (diff)
downloadhomebrew-fb7a8d7943e3cfe263692fb296c1ca73c81c9e89.tar.bz2
libspotify: use install_symlink
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libspotify.rb8
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