<div dir="ltr">Ok, I pushed a new version of the PKGBUILD.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 24 lug 2020 alle ore 14:18 Magnus Boman <<a href="mailto:magunasu.b97@gmail.com">magunasu.b97@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">You can set<br>
`source=(git+<a href="https://github.com/openscad/MCAD.git#branch=dev)" rel="noreferrer" target="_blank">https://github.com/openscad/MCAD.git#branch=dev)`</a><br>
instead, which is the recommended way of doing this.<br>
Also I see your build() function is empty so you might as well remove <br>
it, cleaner output that way. And maybe combine all those rm's? I'm just <br>
nitpicking at this point though ;p<br>
<br>
Please see <br>
<a href="https://wiki.archlinux.org/index.php/VCS_package_guidelines#VCS_sources" rel="noreferrer" target="_blank">https://wiki.archlinux.org/index.php/VCS_package_guidelines#VCS_sources</a> <br>
btw, specifically the #fragment bit.<br>
<br>
Without doing this your pkgver() and other things will be printing the <br>
wrong thing. Unless you're actually pulling files from both branches, in <br>
which case I think you should be including both in the source array.<br>
<br>
Thank you for reaching out and seeking advice rather than ignoring all <br>
advice given. Cheers, katt.<br>
<br>
On 24/07/2020 09:40, Dario Pellegrini wrote:<br>
> Uh, how do you switch to a particular upstream branch from which to pick <br>
> some files without git checkout?<br>
> <br>
> On Fri, 24 Jul 2020, 00:37 , <<a href="mailto:notify@aur.archlinux.org" target="_blank">notify@aur.archlinux.org</a> <br>
> <mailto:<a href="mailto:notify@aur.archlinux.org" target="_blank">notify@aur.archlinux.org</a>>> wrote:<br>
> <br>
>     katt [1] filed a deletion request for openscad-mcad-dev-git [2]:<br>
> <br>
>     git checkout in package()<br>
> <br>
>     [1] <a href="https://aur.archlinux.org/account/katt/" rel="noreferrer" target="_blank">https://aur.archlinux.org/account/katt/</a><br>
>     [2] <a href="https://aur.archlinux.org/pkgbase/openscad-mcad-dev-git/" rel="noreferrer" target="_blank">https://aur.archlinux.org/pkgbase/openscad-mcad-dev-git/</a><br>
> <br>
</blockquote></div>