I switch kinda doesn't work
Created by: philmmanjaro
If I check mkchrootpkg I find this line: [[ ! -f PKGBUILD && -z "${install_pkgs[*]}" ]] && die 'This must be run in a directory containing a PKGBUILD.'
. So we have to recheck that option on how we want to use it. I suggest it like this:
buildpkg -p kpmcore-dev -i
This will say to buildpkg that I want to build it, install it to the chroot and then move it to the cache dir. We can use some like pacman -U kpmcore-dev-<VERSION>*z -r <PATH/TO/CHROOT>
.