cdogs-sdl 0.6.9
Closes #37306. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
bb12cb6a0c
commit
27af0a707e
1 changed files with 3 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
||||||
class CdogsSdl < Formula
|
class CdogsSdl < Formula
|
||||||
desc "Classic overhead run-and-gun game"
|
desc "Classic overhead run-and-gun game"
|
||||||
homepage "https://cxong.github.io/cdogs-sdl/"
|
homepage "https://cxong.github.io/cdogs-sdl/"
|
||||||
url "https://github.com/cxong/cdogs-sdl/archive/0.6.2.tar.gz"
|
url "https://github.com/cxong/cdogs-sdl/archive/0.6.9.tar.gz"
|
||||||
sha256 "d6f421c760b15b706bdfc79ed8d18802dc2e8efeefabb69a31679c9b51f328ab"
|
sha256 "6f81f528cb6fcc6f72ad67627dc22baeac05d7acec512fee5830224cd06cf9ba"
|
||||||
head "https://github.com/cxong/cdogs-sdl.git"
|
head "https://github.com/cxong/cdogs-sdl.git"
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
|
@ -24,8 +24,7 @@ class CdogsSdl < Formula
|
||||||
args << "-DCDOGS_DATA_DIR=#{pkgshare}/"
|
args << "-DCDOGS_DATA_DIR=#{pkgshare}/"
|
||||||
system "cmake", ".", *args
|
system "cmake", ".", *args
|
||||||
system "make"
|
system "make"
|
||||||
prefix.install "src/cdogs-sdl.app"
|
bin.install %w[src/cdogs-sdl src/cdogs-sdl-editor]
|
||||||
bin.write_exec_script "#{prefix}/cdogs-sdl.app/Contents/MacOS/cdogs-sdl"
|
|
||||||
pkgshare.install %w[data dogfights graphics missions music sounds]
|
pkgshare.install %w[data dogfights graphics missions music sounds]
|
||||||
doc.install Dir["doc/*"]
|
doc.install Dir["doc/*"]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue