cannot stat '../source': No such file or directory
fractal-fumbler opened this issue · comments
fractal-fumbler commented
Hello :)
found out recently about wayward and tried to compile it on archlinux and encountered following errors when makepkg is preparing package:
==> Starting prepare()...
cp: cannot stat '../source': No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...
Since i set different variable (/tmp/makepkg) for BUILDDIR in makepkg.conf, so i slightly modified PKGBUILD:
export _source="$PWD"
prepare() {
cd "$srcdir/"
rm -rf $srcdir/source
cp -r "$_source"/source .
}
varmd commented
Added to PKGBUILD