This repository was archived by the owner on May 31, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 111
pacman 5.1 adjustment #726
Copy link
Copy link
Open
Labels
Milestone
Description
List of required adjustments for pacman 5.1.
makepkg: do not create symlinks in build directory
Setting PKGDEST and friends enables us to keep all built packages in a single
location. Symlinking these files into the build directory creates unnecessary
clutter and requires clean-up in multiple places when removing old version.
The removal of the symlinks make the install of VCS packages fail:
# retrieve filename
unset builtpkgs builtdepspkgs
for j in "${pkgsdepslist[@]}"; do
unset builtpkg
[[ $aurdevelpkgsAver ]] && depsAver="$aurdevelpkgsAver" || depsAver="$(GetJson "varvar" "$json" "Version" "$j")"
GetBuiltPkg "$j-$depsAver" "$clonedir/${basepkgs[$i]}"
[[ " ${aurdepspkgs[@]} " =~ " $j " ]] && builtdepspkgs+=($builtpkg) || builtpkgs+=($builtpkg)
done
See also #461, which was implemented to also remove these symlinks leftover. A revamp might be needed here.
Reactions are currently unavailable