FS#37175 - Add functons for extracting package attributes
Attached to Project:
Pacman
Opened by Allan McRae (Allan) - Thursday, 03 October 2013, 03:41 GMT
Last edited by Allan McRae (Allan) - Wednesday, 19 November 2014, 07:25 GMT
Opened by Allan McRae (Allan) - Thursday, 03 October 2013, 03:41 GMT
Last edited by Allan McRae (Allan) - Wednesday, 19 November 2014, 07:25 GMT
|
Details
Separating from
This also makes me wonder if we shouldn't create functions to do the value extraction from the PKGBUILD, e.g. get_package_attribute() and get_package_list_attribute() to do the declare -f | eval | sed | grep | eval | ... dance. We seem to do a lot of this and repeat ourselves. |
This task depends upon