openSUSE/obs-build — pull request #105 by roman-neuhauser (2014-05-08 17:47:17+00:00)
Title: ArchLinux packages need working symlinks in $srcdir

fixes https://github.com/openSUSE/open-build-service/issues/658

problem:

`makepkg -o` does (with `PWD=$TOPDIR/SOURCES`):

mkdir src
for s in ${source[@]}; do
ln -s $SRCDEST/$s src/
done

where `$SRCDEST` is `$PWD` unless overridden.

then we move `$TOPDIR/SOURCES/*` (`s/SOURCES/BUILD/`), and the
symlinks still contain the old paths.

solution:

run `makepkg -o` in `$TOPDIR/BUILD`.