-------------------------------------------- On Tue, 9/16/14, Nuno Araujo <nuno.araujo@russo79.com> wrote: Subject: Re: [aur-general] AUR Best Practice for New Package Upload To: aur-general@archlinux.org Date: Tuesday, September 16, 2014, 1:42 PM There is no obligation to have a setup.py. Usually, when it is provided by upstream, it is used to ease the installation process. This is not the best approach. Usually /opt is used for *large* self-contained packages. Since it's an application and not a library, one should only install the python3 version of the scripts, since this is the default version of python in ArchLinux now. I would install masshash and masshash-launcher directly in in /usr/bin. No need for the symlinks. I wouldn't install the README.md and the AUTHORS file. Usually, those files belong to the source archive and are not deployed. However, you can as well put them in /usr/share/doc/masshash if you like. I would also add a .desktop file to allow the mashhash-launcher to be run from your desktop environment without having to open a terminal for it. And finally, I would create a split package for this application. One for the console application only and one for the GUI. No /opt for your package ;) For the exercice, I packaged the application, and you can find the result here [1] (in the masshash directory). Feel free to inspire yourself, or simply to take it as it is if you wish. Try to study it and feel free to ask any questions you want about it. [1] https://cloud.russo79.com/public.php?service=files&t=f00d660f9ae6001dd09276e960a02e9d -- Nuno Araujo <nuno.araujo@russo79.com> http://www.russo79.com ================================================ Nuno, Thanks a lot for helpful feedback. I was kind of hoping no one would write a PKGBUILD for this so I would not be tempted to use a shortcut and "cheat" but hey.... ;) I will use your PKGBUILD and files as a model, really make sure I understand them fully, make any modifications as desired and post here final result (if different from yours.) I may have some questions and will post here if any. Thanks.