Fix for working with package groups
This commit is contained in:
parent
aa4062634c
commit
9de0ce1e8d
7
zpac
7
zpac
|
@ -21,7 +21,8 @@ usage() {
|
|||
}
|
||||
|
||||
aur.get() {
|
||||
local tarball_url=$(package-query -1 -AS -f %u "$1")
|
||||
local aur_url pkg_group tarball_url=$(package-query -1 -AS -f %u "$1")
|
||||
IFS='/' read _ _ aur_url _ _ pkg_group _ <<< "$tarball_url"
|
||||
|
||||
cd "$cfg_workdir"
|
||||
|
||||
|
@ -31,10 +32,10 @@ aur.get() {
|
|||
return 1
|
||||
}
|
||||
|
||||
echo ": ${cfg_workdir}/${1}"
|
||||
echo ": ${cfg_workdir}/${pkg_group}"
|
||||
|
||||
if (( flag_get_deps )); then
|
||||
cd "${cfg_workdir}/${1}"
|
||||
cd "${cfg_workdir}/${pkg_group}"
|
||||
source PKGBUILD
|
||||
|
||||
for i in "${depends[@]}" "${makedepends[@]}"; do
|
||||
|
|
Loading…
Reference in New Issue
Block a user