xbps-src: new pre-pkg hook that prints collected rdeps.

This commit is contained in:
Juan RP 2019-12-15 18:55:58 +01:00
parent f7412cdf8d
commit 3a08e3d1b6
No known key found for this signature in database
GPG Key ID: AF19F6CB482F9368
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
# This hook displays resolved dependencies for a pkg.
hook() {
if [ -e $PKGDESTDIR/rdeps ]; then
echo " $(cat $PKGDESTDIR/rdeps)"
fi
}