Skip to content
This repository has been archived by the owner on Aug 9, 2019. It is now read-only.

Commit

Permalink
Display makedepends as [makedepend]
Browse files Browse the repository at this point in the history
And not [make]
  • Loading branch information
Skunnyk committed Oct 4, 2015
1 parent f667dc9 commit 287f01f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/lib/pkgbuild.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -109,23 +109,23 @@ check_deps() {
msg "$(_gettext '%s dependencies:' "$pkgbase")"
for dep in "${PKGBUILD_DEPS_INSTALLED[@]}"; do
if $(in_array "$dep" "${makedepends[@]}"); then
echo -e " - $CBOLD$dep$C0 $(gettext '(already installed)') [make]"
echo -e " - $CBOLD$dep$C0 $(gettext '(already installed)') [makedepend]"
else
echo -e " - $CBOLD$dep$C0 $(gettext '(already installed)')"
fi
done
for dep in "${PKGBUILD_DEPS[@]}"; do
if isavailable $dep; then
if $(in_array "$dep" "${makedepends[@]}"); then
echo -e " - $CBLUE$dep$C0 $(gettext '(package found)') [make]" && continue
else
echo -e " - $CBLUE$dep$C0 $(gettext '(package found)')" && continue
fi
elif $(in_array "$dep" "${makedepends[@]}"); then
echo -e " - $CYELLOW$dep$C0 $(gettext '(building from AUR)') [make]"
else
echo -e " - $CYELLOW$dep$C0 $(gettext '(building from AUR)')"
fi
if $(in_array "$dep" "${makedepends[@]}"); then
echo -e " - $CBLUE$dep$C0 $(gettext '(package found)') [makedepend]" && continue
else
echo -e " - $CBLUE$dep$C0 $(gettext '(package found)')" && continue
fi
elif $(in_array "$dep" "${makedepends[@]}"); then
echo -e " - $CYELLOW$dep$C0 $(gettext '(building from AUR)') [makedepend]"
else
echo -e " - $CYELLOW$dep$C0 $(gettext '(building from AUR)')"
fi
done
echo
return 0
Expand Down

0 comments on commit 287f01f

Please sign in to comment.