<div dir="ltr"><div dir="ltr">Quick update ... so it should be:<div><br></div><div><div> {</div><div> "type": "file",</div><div> "path": "perl-MakefilePL-Makefile",</div><div> "dest-filename": "Makefile"</div><div> }</div></div><div><br></div><div>But this only works when included in the main flatpak-builder.json file. If I add a fragment to a separate file in a sub-directory, it doesn't work.</div><div><br></div><div>Dan</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 18, 2018 at 9:39 PM Daniel Kasak <<a href="mailto:d.j.kasak.dk@gmail.com">d.j.kasak.dk@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi all.<div><br></div><div>Thanks to being previously pointed to: <a href="https://github.com/flathub/org.frozen_bubble.frozen-bubble/blob/master/org.frozen_bubble.frozen-bubble.json" target="_blank">https://github.com/flathub/org.frozen_bubble.frozen-bubble/blob/master/org.frozen_bubble.frozen-bubble.json</a> I've *mostly* completed building my entire application. In that example, perl modules are specified like:</div><div><br></div><div><div>{</div><div> "name": "perl-DBD-Postgres",</div><div> "cleanup": ["/bin"],</div><div> "no-autogen": true,</div><div> "sources": [</div><div> {</div><div> "type": "git",</div><div> "url": "<a href="https://github.com/bucardo/dbdpg.git" target="_blank">https://github.com/bucardo/dbdpg.git</a>"</div><div> },</div><div> {</div><div> "type": "file",</div><div> "path": "perl-BuildPL-Makefile",</div><div> "dest-filename": "Makefile"</div><div> }</div><div> ]</div><div>}</div></div><div><br></div><div>I don't understand what's happening in the perl-BuildPL-Makefile part ... and it's not working for the above library ( DBD::Postgres ). I get:</div><div><br></div><div><div>Failed to download sources: module perl-DBD-Postgres: Can't find file at perl-BuildPL-Makefile</div></div><div><br></div><div>I've successfully built many other libs following this pattern. What's going on?</div><div><br></div><div>Dan</div></div></div></div></div>
</blockquote></div>