[aur-general] Request to check my PKGBUILD and suggest me some improvements
alad at archlinux.info
Sat Aug 13 20:22:45 UTC 2016
Op 13.08.2016 om 22:18 schreef Patrick Eigensatz via aur-general:
> Hello Alad, Hello Dan
> Thank you very much for your ideas. I just pushed a new version of the
> Are there further improvements? The point with the substitutions of $pkgver
> seems very handy to me!
> Thank you!
> Dan B via aur-general <aur-general at archlinux.org> schrieb am Sa., 13. Aug.
> 2016 um 21:58 Uhr:
>> Remove the "make -j 9" line. I'll review the rest in a sec
>> On Aug 13, 2016 2:47 PM, "Patrick Eigensatz via aur-general" <
>> aur-general at archlinux.org> wrote:
>>> Hello folks!
>>> I am a beginner in Arch packaging but I just came to a stable point
>>> my small systemd journal analyzer and beeing a Arch user for some years
>>> I thought it would
>>> be a good exercise for me to write a PKGBUILD for my program and try to
>>> upload it to the AUR.
>>> It is now online @ https://aur.archlinux.org/packages/qjournalctl/
>>> I followed the wiki guidelines
>>> I read myself into the
>>> @ https://wiki.archlinux.org/index.php/Arch_packaging_standards
>>> and into
>>> @ https://wiki.archlinux.org/index.php/PKGBUILD
>>> and I tried to follow all the suggestions there and I kept my PKGBUILD as
>>> as possible.
>>> I also runned namcap to check my PKGBUILD respectively the generated
>>> As I had some dependencies (namely qt5-base and gcc-multilibs) I listed
>>> them in the PKGBUILD.
>>> I tried to have a look at other PKGBUILDs as well and to compare it to
>>> but I could not find something which would really differ from my first
>>> Then I read I could ask here for suggestions and improvements.
>>> Is there something I didn't do which is e.g. a good habit? Or did I
>>> something that I shouldn't have done?
>>> I hope some experienced AUR packagers / TUs can give me a few points I
>>> work on. Feel free to give me feedback on my program as well! ;)
>>> Thank you very much!
Looks good. Note that you can leave out the mkdir line, by appending the
-D option to install. i.e.
install -Dm755 "$pkgname-$pkgver/$pkgname" "$pkgdir/usr/bin/$pkgname"
install -Dm755 "$pkgname-$pkgver/$pkgname" -t "$pkgdir/usr/bin"
The -t variant also works with multiple files, should you ever need to
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the aur-general