pacaur
pacaur copied to clipboard
use makepkg utils functions
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.
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
.
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.
Reopening in light of #708.