From 43facb2a3d866a9231af7e16335710341f95db88 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Tue, 1 May 2018 21:33:40 -0600
Subject: [PATCH] Add openttd-opengfx recipe, fix freedoom version

---
 recipes/freedoom/recipe.sh        |  2 +-
 recipes/openttd-opengfx/recipe.sh | 34 +++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+), 1 deletion(-)
 create mode 100644 recipes/openttd-opengfx/recipe.sh

diff --git a/recipes/freedoom/recipe.sh b/recipes/freedoom/recipe.sh
index 042143169..262f1f1e3 100644
--- a/recipes/freedoom/recipe.sh
+++ b/recipes/freedoom/recipe.sh
@@ -1,7 +1,7 @@
 GIT=https://github.com/redox-os/freedoom.git
 
 function recipe_version {
-    echo "0.0.1"
+    echo "0.11.3"
     skip=1
 }
 
diff --git a/recipes/openttd-opengfx/recipe.sh b/recipes/openttd-opengfx/recipe.sh
new file mode 100644
index 000000000..726579abb
--- /dev/null
+++ b/recipes/openttd-opengfx/recipe.sh
@@ -0,0 +1,34 @@
+GIT=https://github.com/redox-os/openttd-opengfx.git
+
+function recipe_version {
+    echo "0.5.2"
+    skip=1
+}
+
+function recipe_update {
+    echo "skipping update"
+    skip=1
+}
+
+function recipe_build {
+    echo "skipping build"
+    skip=1
+}
+
+function recipe_test {
+    echo "skipping test"
+    skip=1
+}
+
+function recipe_clean {
+    echo "skipping clean"
+    skip=1
+}
+
+function recipe_stage {
+    mkdir -pv "$1/share/games/openttd/baseset/opengfx"
+    cp -Rv ./* "$1/share/games/openttd/baseset/opengfx"
+    skip=1
+}
+
+
-- 
GitLab