{"action":"created","issue":{"url":"https://api.github.com/repos/manjaro/manjaro-tools/issues/216","repository_url":"https://api.github.com/repos/manjaro/manjaro-tools","labels_url":"https://api.github.com/repos/manjaro/manjaro-tools/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/manjaro/manjaro-tools/issues/216/comments","events_url":"https://api.github.com/repos/manjaro/manjaro-tools/issues/216/events","html_url":"https://github.com/manjaro/manjaro-tools/issues/216","id":154903512,"number":216,"title":"I switch kinda doesn't work","user":{"login":"philmmanjaro","id":5050022,"avatar_url":"https://avatars.githubusercontent.com/u/5050022?v=3","gravatar_id":"","url":"https://api.github.com/users/philmmanjaro","html_url":"https://github.com/philmmanjaro","followers_url":"https://api.github.com/users/philmmanjaro/followers","following_url":"https://api.github.com/users/philmmanjaro/following{/other_user}","gists_url":"https://api.github.com/users/philmmanjaro/gists{/gist_id}","starred_url":"https://api.github.com/users/philmmanjaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philmmanjaro/subscriptions","organizations_url":"https://api.github.com/users/philmmanjaro/orgs","repos_url":"https://api.github.com/users/philmmanjaro/repos","events_url":"https://api.github.com/users/philmmanjaro/events{/privacy}","received_events_url":"https://api.github.com/users/philmmanjaro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/manjaro/manjaro-tools/labels/buildpkg","name":"buildpkg","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-15T11:24:34Z","updated_at":"2016-05-16T06:15:37Z","closed_at":null,"body":"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:\r\n\r\n`buildpkg -p kpmcore-dev -i`\r\n\r\nThis 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>`."},"comment":{"url":"https://api.github.com/repos/manjaro/manjaro-tools/issues/comments/219356570","html_url":"https://github.com/manjaro/manjaro-tools/issues/216#issuecomment-219356570","issue_url":"https://api.github.com/repos/manjaro/manjaro-tools/issues/216","id":219356570,"user":{"login":"udeved","id":2798842,"avatar_url":"https://avatars.githubusercontent.com/u/2798842?v=3","gravatar_id":"","url":"https://api.github.com/users/udeved","html_url":"https://github.com/udeved","followers_url":"https://api.github.com/users/udeved/followers","following_url":"https://api.github.com/users/udeved/following{/other_user}","gists_url":"https://api.github.com/users/udeved/gists{/gist_id}","starred_url":"https://api.github.com/users/udeved/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udeved/subscriptions","organizations_url":"https://api.github.com/users/udeved/orgs","repos_url":"https://api.github.com/users/udeved/repos","events_url":"https://api.github.com/users/udeved/events{/privacy}","received_events_url":"https://api.github.com/users/udeved/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T06:15:37Z","updated_at":"2016-05-16T06:15:37Z","body":"Yes, what you want is -n switch already if I understood you correctly."}}