From 6c3bbeb4d2e22a39d9e10f29944b718c782cb337 Mon Sep 17 00:00:00 2001
From: jD91mZM2 <me@krake.one>
Date: Mon, 23 Apr 2018 11:16:21 +0200
Subject: [PATCH] Change installation location

---
 recipes/ncdu/recipe.sh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/recipes/ncdu/recipe.sh b/recipes/ncdu/recipe.sh
index 577518de3..d2be33c72 100644
--- a/recipes/ncdu/recipe.sh
+++ b/recipes/ncdu/recipe.sh
@@ -27,7 +27,13 @@ function recipe_test {
 }
 function recipe_stage {
     dest="$(realpath "$1")"
-    echo "$dest"
     make DESTDIR="$dest" install
+    cd "$dest/usr/local/bin/"
+    find . -type f -exec install -D "{}" "$dest/usr/bin/{}" \;
+    cd -
+    cd "$dest/usr/local/share/"
+    find . -type f -exec install -D "{}" "$dest/share/{}" \;
+    cd -
+    rm -r "$dest/usr/local/"
     skip=1
 }
-- 
GitLab