Dwarf Fortress: style nit-picks
This commit is contained in:
parent
f7073be6ac
commit
20197140bf
1 changed files with 7 additions and 13 deletions
|
@ -1,23 +1,17 @@
|
|||
require 'formula'
|
||||
|
||||
class DwarfFortress < Formula
|
||||
url 'http://www.bay12games.com/dwarves/df_34_05_osx.tar.bz2'
|
||||
homepage 'http://www.bay12games.com/dwarves/'
|
||||
md5 '470dd5b1f75bdc2f567a10127b3708bf'
|
||||
url 'http://www.bay12games.com/dwarves/df_34_05_osx.tar.bz2'
|
||||
version '0.34.05'
|
||||
|
||||
def script; <<-EOS.undent
|
||||
#!/bin/sh
|
||||
# Dwarf Fortress wrapper script
|
||||
exec #{prefix}/df
|
||||
EOS
|
||||
end
|
||||
md5 '470dd5b1f75bdc2f567a10127b3708bf'
|
||||
|
||||
def install
|
||||
(bin + 'dwarffortress').write script
|
||||
|
||||
(bin+'dwarffortress').write <<-EOS.undent
|
||||
#!/bin/sh
|
||||
exec #{libexec}/df
|
||||
EOS
|
||||
rm_rf 'sdl' # only contains a readme
|
||||
|
||||
prefix.install Dir['*']
|
||||
libexec.install Dir['*']
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue