pacaur icon indicating copy to clipboard operation
pacaur copied to clipboard

use makepkg utils functions

Open rmarquis opened this issue 8 years ago • 3 comments

Now that makepkg is split in various sub libraries, it might be a good idea to use the provided utils functions instead of reimplementing an equivalent. Cleaner and less code to maintain, and this will also likely give a more makepkg-like feel too.

See /usr/share/makepkg/util/message.sh and /usr/share/makepkg/util.sh. Sourcing these files should be enough. Check and ensure translated string still work here.

rmarquis avatar Feb 14 '16 14:02 rmarquis

Note that message.sh lacks PURPLE (\e[1;35) and CYAN (\e[1;35). source.sh may also be useful, e.g for get_protocol.

AladW avatar Mar 25 '16 23:03 AladW

Closing this ticket now, since I'll likely not do this by myself. Further work can be tracked in #443 where this feature has been mentioned.

rmarquis avatar Feb 22 '17 17:02 rmarquis

Reopening in light of #708.

rmarquis avatar Dec 05 '17 21:12 rmarquis