mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-28 11:59:43 -05:00
net-nuclear: fix quoting
This commit is contained in:
1 parent
a50f8a2004
commit
cbdaca5d1f
1 file changed
+6
-10
@@ -10,22 +10,15 @@ end
|
||||
|
||||
|
||||
class NetNuclear < Formula
|
||||
homepage 'http://studiostok.se/?page=netnuclear'
|
||||
url 'http://studiostok.se/files/netnuclear4-source.rar'
|
||||
version '4'
|
||||
homepage 'http://studiostok.se/?page=netnuclear'
|
||||
md5 '061df954d0632f1cbc158dc0002e4b6c'
|
||||
|
||||
depends_on 'sdl'
|
||||
depends_on 'sdl_mixer'
|
||||
depends_on 'sdl_net'
|
||||
|
||||
def startup_script
|
||||
return <<-END
|
||||
#!/bin/bash
|
||||
#{libexec}/nuclear $*
|
||||
END
|
||||
end
|
||||
|
||||
def install
|
||||
inreplace 'Makefile' do |s|
|
||||
s.remove_make_var! 'CC'
|
||||
@@ -37,8 +30,11 @@ END
|
||||
libexec.install 'nuclear'
|
||||
|
||||
d = libexec
|
||||
NetNuclearSoundsAndGraphics.new.brew { d.install ['sfx','gfx'] }
|
||||
NetNuclearSoundsAndGraphics.new.brew { d.install 'sfx','gfx' }
|
||||
|
||||
(bin+'nuclear').write startup_script
|
||||
(bin+'nuclear').write <<-END.undent
|
||||
#!/bin/bash
|
||||
"#{libexec}/nuclear" "$@"
|
||||
END
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user