--- makepkg 2012-01-02 11:38:04.000000000 -0800 +++ makepkg.fixed 2012-01-07 17:59:29.207784781 -0800 @@ -1335,6 +1335,9 @@ if [[ -f $file ]]; then msg2 "$(gettext "Adding %s...")" "$file" ln -s "${startdir}/$file" "$srclinks/$pkgbase" + elif [[ -f "${SRCDEST}/$file" ]]; then + msg2 "$(gettext "Adding %s...")" "$file" + ln -s "${SRCDEST}/$file" "$srclinks/$pkgbase" elif (( SOURCEONLY == 2 )); then local absfile=$(get_filepath "$file") || missing_source_file "$file" msg2 "$(gettext "Adding %s...")" "${absfile##*/}"