[aur-general] How to update .SRCINFO without creating a tarball?

Marcel Korpel marcel.korpel at gmail.com
Thu May 28 11:34:35 UTC 2015


* Νῖκος Θεοδώρου <ntheo1979 at gmail.com> (Thu, 28 May 2015 14:23:41
+0300):
> On Thu, 28 May 2015 13:14:11 +0200
> Marcel Korpel <marcel.korpel at gmail.com> wrote:
> 
>> I think we should wait until [1] gets merged into that project: then
>> that file could serve as a default .gitignore file for future AUR
>> packages.
> 
> Wouldn't it be just easier to recommend that one
> a) edit the PKGBUILD
> b) run makepkg -g and change the sums in the PKGBUILD

You can do this automatically by running updpkgsums.

> b) run makepkg in order to build the package
> c) run pacman -U in order to install the package (if the maintainer
> actually uses it)
> d) delete (by hand) unnecessary files and directories and then
> e) git add . etc in order to update?
> 
> I mean, isn't .gitignore an unnecessary complication? No one will want
> to keep src/ and pkg/ etc after they are done anyway. Since they will
> delete them after (e), they might as well do it before (e). Just my
> opinion.

That depends on the workflow of the maintainer. I like to let those
files stick around, so I can easily downgrade a package when necessary
without redownloading and/or rebuilding sources.

Especially VCS sources (mentioned in my other mail) shouldn't be
deleted, resulting in downloading the complete tree over and over again.

What do others do?

Best, Marcel


More information about the aur-general mailing list