common: move handling of rdeps, shlib-provides, shlib-requires files
to XBPS_STATEDIR. There's no need for them to pollute PKGDESTDIR. Keep INSTALL.msg/REMOVE.msg handling as-is for now because it's a little more complex. Keep the pkglints for these files because xbps still ignores them.
This commit is contained in:
parent
b9acde8b15
commit
17efb6163a
8 changed files with 29 additions and 29 deletions
|
@ -41,7 +41,7 @@ store_pkgdestdir_rundeps() {
|
|||
_curdep="${_curdep}>=0"
|
||||
fi
|
||||
printf "%s " "${_curdep}"
|
||||
done > "${PKGDESTDIR}/rdeps"
|
||||
done > "${XBPS_STATEDIR}/${pkgname}-rdeps"
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -149,6 +149,6 @@ hook() {
|
|||
store_pkgdestdir_rundeps
|
||||
|
||||
if [ -n "${sorequires}" ]; then
|
||||
echo "${sorequires}" | xargs -n1 | sort | xargs > ${PKGDESTDIR}/shlib-requires
|
||||
echo "${sorequires}" | xargs -n1 | sort | xargs > ${XBPS_STATEDIR}/${pkgname}-shlib-requires
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue