summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoNicks2021-05-15 21:08:21 +0300
committerKoNicks2021-05-15 21:08:21 +0300
commit134f1d61357a15208cd858d5a86d4ba025828fb0 (patch)
tree1333140414a3e69cc5cf55a444450b6f8a3d5e3c
parent99ab3c63eb64213b32e3aefddba3dfa5c1601eca (diff)
downloadaur-134f1d61357a15208cd858d5a86d4ba025828fb0.tar.gz
added makedepend installation aur for host
-rwxr-xr-xkoffe7
1 files changed, 7 insertions, 0 deletions
diff --git a/koffe b/koffe
index 9777171b1915..949876bc33e4 100755
--- a/koffe
+++ b/koffe
@@ -173,6 +173,13 @@ then
cp /tmp/koffe/aurbg/$depend/*.pkg.tar.zst /usr/share/archiso/configs/releng/airootfs/root/pkg
fi
done
+ declare -a bbm
+ bbm=$(cat /tmp/koffe/aurbg/$app/.SRCINFO | grep makedepends | cut -f 2 -d '=' | cut -f 1 -d '>' | cut -f 1 -d ':')
+ for depend in $bbm
+ do
+ pacman -S $depend --noconfirm
+ done
+
fi
done
repo-add /usr/share/archiso/configs/releng/airootfs/root/pkg/koffe.db.tar.gz /usr/share/archiso/configs/releng/airootfs/root/pkg/*