summaryrefslogtreecommitdiff
path: root/homebrew/arxlibertatis/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/arxlibertatis/.make.sh-auto')
-rw-r--r--homebrew/arxlibertatis/.make.sh-auto11
1 files changed, 11 insertions, 0 deletions
diff --git a/homebrew/arxlibertatis/.make.sh-auto b/homebrew/arxlibertatis/.make.sh-auto
new file mode 100644
index 000000000..669b6e786
--- /dev/null
+++ b/homebrew/arxlibertatis/.make.sh-auto
@@ -0,0 +1,11 @@
+pkg:setup
+args = std_cmake_args
+if build.stable?
+inreplace "src/platform/Time.cpp", "clock_t ", "clockid_t "
+inreplace "src/core/Version.cpp.in" do |s|
+s.gsub! "${VERSION_COUNT}", "5"
+s.gsub! "${VERSION_2}", "10"
+s.gsub! "${VERSION_0}", "1.1.2"
+s.gsub! "${GIT_SUFFIX_5}", "+Homebrew-1"
+s.gsub! "${VERSION_4}", "Rhaa Movis"
+end