aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/open-tyrian.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/open-tyrian.rb')
-rw-r--r--Library/Formula/open-tyrian.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/open-tyrian.rb b/Library/Formula/open-tyrian.rb
index a2966540c..7f4e5fd91 100644
--- a/Library/Formula/open-tyrian.rb
+++ b/Library/Formula/open-tyrian.rb
@@ -6,16 +6,14 @@ class OpenTyrianData <Formula
end
class OpenTyrian <Formula
- head 'http://opentyrian.googlecode.com/hg/', :revision => '9ddcd06e48'
+ url 'http://opentyrian.googlecode.com/hg/', :revision => '9ddcd06e48'
homepage 'http://code.google.com/p/opentyrian/'
- version 'trunk'
-
+
depends_on 'sdl'
depends_on 'sdl_net'
def install
- d = libexec
- OpenTyrianData.new.brew { d.install Dir['*'] }
+ OpenTyrianData.new.brew { libexec.install Dir['*'] }
system "make release"
libexec.install "opentyrian"
@@ -24,7 +22,7 @@ class OpenTyrian <Formula
end
def startup_script
- return <<-END
+<<-END
#!/bin/bash
#{libexec}/opentyrian --data=#{libexec} $*
END