{"action":"created","issue":{"url":"https://api.github.com/repos/Perl5-Alien/Alien-Base/issues/129","labels_url":"https://api.github.com/repos/Perl5-Alien/Alien-Base/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/Perl5-Alien/Alien-Base/issues/129/comments","events_url":"https://api.github.com/repos/Perl5-Alien/Alien-Base/issues/129/events","html_url":"https://github.com/Perl5-Alien/Alien-Base/pull/129","id":90702713,"number":129,"title":"interpolation of arbitrary perl at command time","user":{"login":"plicease","id":354009,"avatar_url":"https://avatars.githubusercontent.com/u/354009?v=3","gravatar_id":"","url":"https://api.github.com/users/plicease","html_url":"https://github.com/plicease","followers_url":"https://api.github.com/users/plicease/followers","following_url":"https://api.github.com/users/plicease/following{/other_user}","gists_url":"https://api.github.com/users/plicease/gists{/gist_id}","starred_url":"https://api.github.com/users/plicease/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plicease/subscriptions","organizations_url":"https://api.github.com/users/plicease/orgs","repos_url":"https://api.github.com/users/plicease/repos","events_url":"https://api.github.com/users/plicease/events{/privacy}","received_events_url":"https://api.github.com/users/plicease/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-06-24T15:04:59Z","updated_at":"2015-06-24T16:45:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Perl5-Alien/Alien-Base/pulls/129","html_url":"https://github.com/Perl5-Alien/Alien-Base/pull/129","diff_url":"https://github.com/Perl5-Alien/Alien-Base/pull/129.diff","patch_url":"https://github.com/Perl5-Alien/Alien-Base/pull/129.patch"},"body":"As discussed on IRC this allows the interpolation of arbitrary Perl at build and staged install time.  It would simplify a number of the solutions in the FAQ branch, which I intend on updating if this is accepted.  This handles nested `{ { } }`.  I've never used `Text::Balanced` before so if let me know if I'm doing something terribly wrongly."},"comment":{"url":"https://api.github.com/repos/Perl5-Alien/Alien-Base/issues/comments/114938620","html_url":"https://github.com/Perl5-Alien/Alien-Base/pull/129#issuecomment-114938620","issue_url":"https://api.github.com/repos/Perl5-Alien/Alien-Base/issues/129","id":114938620,"user":{"login":"plicease","id":354009,"avatar_url":"https://avatars.githubusercontent.com/u/354009?v=3","gravatar_id":"","url":"https://api.github.com/users/plicease","html_url":"https://github.com/plicease","followers_url":"https://api.github.com/users/plicease/followers","following_url":"https://api.github.com/users/plicease/following{/other_user}","gists_url":"https://api.github.com/users/plicease/gists{/gist_id}","starred_url":"https://api.github.com/users/plicease/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plicease/subscriptions","organizations_url":"https://api.github.com/users/plicease/orgs","repos_url":"https://api.github.com/users/plicease/repos","events_url":"https://api.github.com/users/plicease/events{/privacy}","received_events_url":"https://api.github.com/users/plicease/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T16:45:51Z","updated_at":"2015-06-24T16:45:51Z","body":"@shadowcat-mst That might work for gmake\r\n\r\n```\r\n  alien_build_commands => [ [ \\'Alien::gmake->exe', 'all' ] ],  # list ref if you need arguments\r\n```\r\n\r\nbut for patch you need (at the moment) single arg version of system:\r\n\r\n```\r\n alien_build_commands => [ '%{ Alien::patch->exe } -p1 < mypatch.diff' ]\r\n```"}}