antiword: style update
This commit is contained in:
parent
3cdde100ff
commit
346eb34f32
1 changed files with 2 additions and 6 deletions
|
@ -5,11 +5,8 @@ class Antiword < Formula
|
|||
url 'http://www.winfield.demon.nl/linux/antiword-0.37.tar.gz'
|
||||
sha1 '4364f7f99cb2d37f7d1d5bc14a335ccc0c67292e'
|
||||
|
||||
skip_clean 'share/antiword'
|
||||
|
||||
def install
|
||||
(share+'antiword').mkpath
|
||||
inreplace 'antiword.h', '/usr/share/antiword', share+'antiword'
|
||||
inreplace 'antiword.h', '/usr/share/antiword', "#{share}/antiword"
|
||||
|
||||
system "make", "CC=#{ENV.cc}",
|
||||
"LD=#{ENV.cc}",
|
||||
|
@ -17,8 +14,7 @@ class Antiword < Formula
|
|||
"GLOBAL_INSTALL_DIR=#{bin}",
|
||||
"GLOBAL_RESOURCES_DIR=#{share}/antiword"
|
||||
bin.install 'antiword'
|
||||
# Resources directory has to be copied
|
||||
cp_r "Resources/.", "#{share}/antiword"
|
||||
(share+'antiword').install Dir["Resources/*"]
|
||||
man1.install 'Docs/antiword.1'
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue