[aur-general] Electron packaging guidelines

Bruno Pagani bruno.n.pagani at gmail.com
Mon Nov 5 12:20:00 UTC 2018


Le 05/11/2018 à 13:07, Tom Hale a écrit :
> I've noticed that there are no Electron packaging guidelines at:
> https://wiki.archlinux.org/index.php/Arch_package_guidelines
>
> What are the best-of-breed PKGBUILDs out there for Electron apps?

Most important point is using system electron.

Some packages examples: 

https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/atom
https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/cozy-desktop
https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/riot

I think the best one is the first, because it goes further in removing
useless things (e.g. dev node modules). But of course what there is to
do depends on the actual package.

Also note that it’s quite hard to do that for binary electron app like
Slack. I’ve tried a bit to use system electron with it, but to no avail
(crashed on start everytime).

Regards,
Bruno


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20181105/001debdd/attachment.asc>


More information about the aur-general mailing list