classabbyamp
e2b6a24357
common/hooks/pre-pkg/04-generate-provides: make cmd: alt provides a pkgver
2025-05-08 14:14:01 -04:00
classabbyamp
8a5d2272b1
common/hooks/pre-pkg/04-generate-provides: simplify cmd: provides generation
2025-05-08 14:14:01 -04:00
classabbyamp
5e44650ebd
common/hooks/pre-pkg/04-generate-provides: use xbps version instead of pc version
...
this might be a little wrong sometimes, but xbps will choke if it's not
a proper pkgver and the pc version isn't always useful
2025-05-08 14:14:01 -04:00
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