From 745c66e80f95a4260346079feda4ec61f2b93f8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismael=20Barros=C2=B2?= Date: Mon, 18 Jan 2021 13:09:59 +0000 Subject: [PATCH] Fix missing libjs.so.0 error in 0ad --- recipes/0ad.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipes/0ad.yml b/recipes/0ad.yml index 99f14320..59f4d000 100644 --- a/recipes/0ad.yml +++ b/recipes/0ad.yml @@ -11,3 +11,8 @@ ingredients: script: - find usr/lib/games/0ad/ -type f -iname '*.so.*' -exec mv {} usr/lib/ \; - mv usr/games/* usr/bin/ + - mkdir -p usr/bin/share + - mv usr/share/games usr/bin/share + - sed -i 's#/usr#././#g' usr/bin/pyrogenesis + - sed -i '1a HERE=$(cd "$(dirname "$0")";pwd) && cd $HERE' usr/bin/0ad + - cp usr/lib/x86_64-linux-gnu/libmozjs-38.so.0.0.0 usr/lib/x86_64-linux-gnu/libjs.so.0