mad: fix RuboCop Style/TrailingBodyOnMethodDefinition.

master
Mike McQuaid 2020-03-14 19:45:17 +00:00
parent 9f7b4d72be
commit 2e2c1d07d8
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70
1 changed files with 14 additions and 13 deletions

View File

@ -22,19 +22,20 @@ class Mad < Formula
(lib+"pkgconfig/mad.pc").write pc_file
end
def pc_file; <<~EOS
prefix=#{opt_prefix}
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
def pc_file
<<~EOS
prefix=#{opt_prefix}
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: mad
Description: MPEG Audio Decoder
Version: #{version}
Requires:
Conflicts:
Libs: -L${libdir} -lmad -lm
Cflags: -I${includedir}
EOS
Name: mad
Description: MPEG Audio Decoder
Version: #{version}
Requires:
Conflicts:
Libs: -L${libdir} -lmad -lm
Cflags: -I${includedir}
EOS
end
end