Skip to content

Commit

Permalink
Improve split packages support
Browse files Browse the repository at this point in the history
As AUR assumes dirs are named after pkgbase, we can just filter for the original arguments.
Fixes #35
  • Loading branch information
Alad Wenter committed Mar 10, 2016
1 parent 1c659db commit 3ed7884
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion aurqueue
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ sift() {
grep -Fxvf <(printf '%s\n' "${repo[@]}") <(printf '%s\n' "${all[@]}")
}

base() {
grep -Fxf <(printf '%s\n' "$@")
}

if ! source /usr/share/makepkg/util.sh; then
exit 1
fi
Expand All @@ -96,4 +100,4 @@ fi
[[ -t 2 ]] && colorize

msg "Generating dependencies..."
findsrc "$@" | gendeps | tsort | sift | tac
findsrc "$@" | gendeps | tsort | sift | base "$@" | tac

0 comments on commit 3ed7884

Please sign in to comment.