2017-02-06 10:26:49 +00:00
|
|
|
class Angolmois < Formula
|
|
|
|
desc "BM98-like rhythm game"
|
2017-05-10 17:19:42 +00:00
|
|
|
homepage "https://mearie.org/projects/angolmois/"
|
2017-02-06 10:26:49 +00:00
|
|
|
|
|
|
|
stable do
|
|
|
|
url "https://github.com/lifthrasiir/angolmois/archive/angolmois-2.0-alpha2.tar.gz"
|
|
|
|
version "2.0.0alpha2"
|
|
|
|
sha256 "97ac3bff8a4800a539b1b823fd1638cedbb9910ebc0cc67196ec55d7720a7005"
|
|
|
|
depends_on "sdl"
|
|
|
|
depends_on "sdl_image"
|
|
|
|
depends_on "sdl_mixer" => "with-smpeg"
|
|
|
|
depends_on "smpeg"
|
|
|
|
end
|
|
|
|
|
|
|
|
bottle do
|
|
|
|
cellar :any
|
2017-02-08 08:28:08 +00:00
|
|
|
sha256 "da65bae7959ac500d64aa1945419beff9a77693bf3772768b518229c6f874192" => :sierra
|
|
|
|
sha256 "6d9087464b1337d8c08223b71fe08ff7aee1f1ce3a394e1bb91ade6417ece9b4" => :el_capitan
|
|
|
|
sha256 "003f6de7f268fe9e07379a6ad0b2166e7dcd521c8141a2062060d84d20dbf6d5" => :yosemite
|
2017-02-06 10:26:49 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
head do
|
|
|
|
url "https://github.com/lifthrasiir/angolmois.git"
|
|
|
|
depends_on "sdl2"
|
|
|
|
depends_on "sdl2_image"
|
|
|
|
depends_on "sdl2_mixer" => "with-smpeg2"
|
|
|
|
depends_on "smpeg2"
|
|
|
|
end
|
|
|
|
|
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "make"
|
|
|
|
bin.install "angolmois"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
assert_equal version.to_s, /Angolmois (\d+\.\d+(?:\.\d+)?) (\w+) (\d+)?/.match(shell_output("#{bin}/angolmois --version")).to_a.drop(1).join
|
|
|
|
end
|
|
|
|
end
|