From 9e08e575fd909358d350c448feeb9b577ed63aef Mon Sep 17 00:00:00 2001 From: Einhard Leichtfuß Date: Mon, 26 Mar 2018 03:55:37 +0200 Subject: Install dependencies --asdeps Furthermore, enable aliases. --- TODO | 4 ++++ auria.sh | 11 +++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 TODO diff --git a/TODO b/TODO new file mode 100644 index 0000000..e6df4cb --- /dev/null +++ b/TODO @@ -0,0 +1,4 @@ +- Test gpg-Signatures for git-packages. +- get_pkgbase: There is only one pkgbase per package. +- Use git-diff instead of cp and diff. + `- Or at least use ln (instead of cp) diff --git a/auria.sh b/auria.sh index 094ed5b..1d29877 100755 --- a/auria.sh +++ b/auria.sh @@ -85,6 +85,8 @@ test -n "$EDITOR" && editor="$EDITOR" test -f "$global_conffile" && . "$global_conffile" test -f "$local_conffile" && . "$local_conffile" +shopt -s expand_aliases + alias parse=./parse typeset -a curl_args=( @@ -242,7 +244,12 @@ function install_full ask y "Continue" || return 0 fi - makepkg "${makepkg_options[@]}" -si || return 2 + if [[ "${aur_itype[$pkg]}" == dep ]] + then + makepkg "${makepkg_options[@]}" -si --asdeps || return 2 + else + makepkg "${makepkg_options[@]}" -si || return 2 + fi done } @@ -855,4 +862,4 @@ function match printf "%s\n" "${@:2}" | grep -q "^${1}$" } -#main "$@" +main "$@" -- cgit v1.2.3