{"action":"created","issue":{"url":"https://api.github.com/repos/Alexpux/MSYS2-pacman/issues/15","labels_url":"https://api.github.com/repos/Alexpux/MSYS2-pacman/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/Alexpux/MSYS2-pacman/issues/15/comments","events_url":"https://api.github.com/repos/Alexpux/MSYS2-pacman/issues/15/events","html_url":"https://github.com/Alexpux/MSYS2-pacman/issues/15","id":99193839,"number":15,"title":"`makepkg -e` runs `prepare()`","user":{"login":"elieux","id":1399406,"avatar_url":"https://avatars.githubusercontent.com/u/1399406?v=3","gravatar_id":"","url":"https://api.github.com/users/elieux","html_url":"https://github.com/elieux","followers_url":"https://api.github.com/users/elieux/followers","following_url":"https://api.github.com/users/elieux/following{/other_user}","gists_url":"https://api.github.com/users/elieux/gists{/gist_id}","starred_url":"https://api.github.com/users/elieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elieux/subscriptions","organizations_url":"https://api.github.com/users/elieux/orgs","repos_url":"https://api.github.com/users/elieux/repos","events_url":"https://api.github.com/users/elieux/events{/privacy}","received_events_url":"https://api.github.com/users/elieux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-05T12:29:30Z","updated_at":"2015-08-05T20:28:06Z","closed_at":null,"body":"Upstream pacman doesn't run `prepare()` when the `-e` argument is passed. MSYS2 pacman does.\r\n\r\nI assume it's because of a this block: [makepkg.sh.in#L2167-L2169](https://github.com/Alexpux/MSYS2-pacman/blob/master/scripts/makepkg.sh.in#L2167-L2169)\r\n```\r\nif (( PREPAREFUNC && !REPKG )); then\r\n\trun_prepare\r\nfi\r\n```\r\n\r\nWhy is it there?"},"comment":{"url":"https://api.github.com/repos/Alexpux/MSYS2-pacman/issues/comments/128137647","html_url":"https://github.com/Alexpux/MSYS2-pacman/issues/15#issuecomment-128137647","issue_url":"https://api.github.com/repos/Alexpux/MSYS2-pacman/issues/15","id":128137647,"user":{"login":"Alexpux","id":1898153,"avatar_url":"https://avatars.githubusercontent.com/u/1898153?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexpux","html_url":"https://github.com/Alexpux","followers_url":"https://api.github.com/users/Alexpux/followers","following_url":"https://api.github.com/users/Alexpux/following{/other_user}","gists_url":"https://api.github.com/users/Alexpux/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexpux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexpux/subscriptions","organizations_url":"https://api.github.com/users/Alexpux/orgs","repos_url":"https://api.github.com/users/Alexpux/repos","events_url":"https://api.github.com/users/Alexpux/events{/privacy}","received_events_url":"https://api.github.com/users/Alexpux/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T20:28:06Z","updated_at":"2015-08-05T20:28:06Z","body":"This tell to not run prepare when you run repackage"}}