varmd / wayward

Fast desktop shell for wayland and weston.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot stat '../source': No such file or directory

fractal-fumbler opened this issue · comments

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 .
}
commented

Added to PKGBUILD