{"action":"opened","issue":{"url":"https://api.github.com/repos/S0lll0s/themer/issues/16","labels_url":"https://api.github.com/repos/S0lll0s/themer/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/S0lll0s/themer/issues/16/comments","events_url":"https://api.github.com/repos/S0lll0s/themer/issues/16/events","html_url":"https://github.com/S0lll0s/themer/issues/16","id":71566255,"number":16,"title":"setup.py tries to install to root instead of fake-root, fails on Arch","user":{"login":"phijor","id":10487782,"avatar_url":"https://avatars.githubusercontent.com/u/10487782?v=3","gravatar_id":"","url":"https://api.github.com/users/phijor","html_url":"https://github.com/phijor","followers_url":"https://api.github.com/users/phijor/followers","following_url":"https://api.github.com/users/phijor/following{/other_user}","gists_url":"https://api.github.com/users/phijor/gists{/gist_id}","starred_url":"https://api.github.com/users/phijor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phijor/subscriptions","organizations_url":"https://api.github.com/users/phijor/orgs","repos_url":"https://api.github.com/users/phijor/repos","events_url":"https://api.github.com/users/phijor/events{/privacy}","received_events_url":"https://api.github.com/users/phijor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-28T11:45:52Z","updated_at":"2015-04-28T11:45:52Z","closed_at":null,"body":"I tried to install `themer` from the AUR, but it always failed with:\r\n\r\n    error: could not create directory '/usr/share/themer'\r\n\r\nAfter a bit of digging, I found out that `setup.py` tries to install to root, which one does not have the permissions to when building from AUR. Instead, the package should try to install to the current working directory, aka the fake-root `--root=\"${pkgdir}\"`.\r\n\r\nI forked `themer` and removed the prefix `/` and it now happily builds with `makepkg`."}}