feat: 🎸 Add option to resolve deps using paru (from AUR)
This commit is contained in:
+9
-1
@@ -40,7 +40,7 @@ fi
|
||||
# Generate .SRCINFO
|
||||
if [[ $INPUT_SRCINFO == true ]]; then
|
||||
echo "::group::Generating new .SRCINFO based on PKGBUILD"
|
||||
makepkg --printsrcinfo > .SRCINFO
|
||||
makepkg --printsrcinfo >.SRCINFO
|
||||
git diff .SRCINFO
|
||||
echo "::endgroup::"
|
||||
fi
|
||||
@@ -52,6 +52,14 @@ if [[ $INPUT_NAMCAP == true ]]; then
|
||||
echo "::endgroup::"
|
||||
fi
|
||||
|
||||
# Install depends using paru from aur
|
||||
if [[ -n $INPUT_AUR ]]; then
|
||||
echo "::group::Installing depends using paru"
|
||||
source PKGBUILD
|
||||
paru -Syu --removemake --needed --noconfirm "${depends[@]}" "${makedepends[@]}"
|
||||
echo "::endgroup::"
|
||||
fi
|
||||
|
||||
# Run makepkg
|
||||
if [[ -n $INPUT_FLAGS ]]; then
|
||||
echo "::group::Running makepkg with flags"
|
||||
|
||||
Reference in New Issue
Block a user