You are not logged in.

#1 2018-03-14 12:46:07

rez_23
Member
Registered: 2017-05-24
Posts: 11

P.AUR.A, a Pacman AUR Automatization, (AUR Helper)

Hi to all,
I want to share my AUR helper.
Ya, I know that in the last times the helpers are popping up like mushrooms, but since some peoples have tolds me to pubblish it, I thinked to satisfy their request :)
Paura is developed in bash and based on auracle, its principal features is, for now:
- Searching packages in quiet and verbose mode (like pacman with q in front of -Ss flags)
- identifing packages type (AUR or core)  and downloads and installs packages from AUR or pacman.
- Resolves, downlaods and installs AUR dependencies from .SRCINFO
- Edit, if you want, the PKGBUILD before of starting build process
- Install recursiverly packages from commands (like paura -S package1 package2 package3)
- Clean cache dirs and pacman cache automatics (see paura(1) man page for more info)
Other features is expleined in paura(1) man page.
                                                                            ****
Paura is in alpha stage, so if you see bugs or any unaxpected behavior or if you have some features request, report them, so that I can solve or add them :)

Github Page: https://github.com/rez23/PAURA.git

regards rez23

Offline

#2 2018-03-14 13:49:46

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: P.AUR.A, a Pacman AUR Automatization, (AUR Helper)

The most immediately obvious issue I see is that this is full, from top to bottom, of straight-up syntax errors. It is written in GNU bash and makes heavy use of things like arrays, it sources libmakepkg, etc... but the shebangs all point to #!/bin/sh


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#3 2018-03-14 14:07:00

rez_23
Member
Registered: 2017-05-24
Posts: 11

Re: P.AUR.A, a Pacman AUR Automatization, (AUR Helper)

Eschwartz wrote:

The most immediately obvious issue I see is that this is full, from top to bottom, of straight-up syntax errors. It is written in GNU bash and makes heavy use of things like arrays, it sources libmakepkg, etc... but the shebangs all point to #!/bin/sh

so for you I need to poin it to #!/bin/bash instead /bin/sh?

Last edited by rez_23 (2018-03-14 14:08:15)

Offline

#4 2018-03-14 14:35:56

Awebb
Member
Registered: 2010-05-06
Posts: 6,272

Re: P.AUR.A, a Pacman AUR Automatization, (AUR Helper)

Not just for Eschwartz, but for everyone. Sourcing libmakepkg pulls in stuff that is not present in plain sh. Look at the shebang in the makepkg scripts you call.

Offline

#5 2018-03-14 14:41:35

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: P.AUR.A, a Pacman AUR Automatization, (AUR Helper)

You really need to decide whether you want sh or bash. Read https://mywiki.wooledge.org/Bashism and check out https://www.shellcheck.net/

Last edited by Scimmia (2018-03-14 14:42:46)

Offline

#6 2018-03-14 14:42:11

rez_23
Member
Registered: 2017-05-24
Posts: 11

Re: P.AUR.A, a Pacman AUR Automatization, (AUR Helper)

Ok thanks for the reports I'll fix it soon as possible.

EDIT

Fixed..

Last edited by rez_23 (2018-03-14 15:00:28)

Offline

#7 2018-03-14 16:02:08

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: P.AUR.A, a Pacman AUR Automatization, (AUR Helper)

The current commit says it was authored + committed 4 minutes ago. Do you frequently force-push your changes?


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB