mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
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
This commit is contained in:
parent
55a1b08169
commit
5e44650ebd
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ generate_python_provides() {
|
||||||
|
|
||||||
generate_pkgconfig_provides() {
|
generate_pkgconfig_provides() {
|
||||||
find "${PKGDESTDIR}/usr/lib/pkgconfig" "${PKGDESTDIR}/usr/share/pkgconfig" -name '*.pc' -type f \
|
find "${PKGDESTDIR}/usr/lib/pkgconfig" "${PKGDESTDIR}/usr/share/pkgconfig" -name '*.pc' -type f \
|
||||||
-exec pkg-config --print-provides {} \; 2>/dev/null | sed 's/^/pc:/; s/ = /-/' | sort -u
|
-exec pkg-config --print-provides {} \; 2>/dev/null | sed "s/^/pc:/; s/ =.*/-${version}_${revision}/" | sort -u
|
||||||
}
|
}
|
||||||
|
|
||||||
generate_cmd_provides() {
|
generate_cmd_provides() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue