Commit graph

5 commits

Author SHA1 Message Date
classabbyamp
a870a1c95d common/hooks/pre-pkg/04-generate-provides: generate cmd: provides
for executables in /usr/bin and alternatives
2025-02-17 15:27:35 -05:00
classabbyamp
3e3880d7de common/hooks/pre-pkg/04-generate-provides: add pc: provides for pkgconfig 2025-02-17 15:27:35 -05:00
classabbyamp
c1122b219a common/hooks/pre-pkg/04-generate-provides: reorganise
use only one mapfile to make things neater
2025-02-17 15:27:35 -05:00
Đoàn Trần Công Danh
ee2368a0e5 hooks/gen-provides: Correctly uses builtin provides and mapfile
- `read -r -a' somehow doesn't work with newline, but we don't need to
  invoke a builtin for that, we can just simply assign to the variable
- In `mapfile', `-t' is used for removing newline, not for target. The
  targeting array need to be specified last in the array.

Close #53532
2024-12-19 21:28:47 +07:00
classabbyamp
232221efaf common/hooks: use file for managing provides
python packages use this to automatically generate provides for each
module installed by the package.
2024-12-14 07:44:02 -05:00