xbps-src: update pkg metadata files.plist "links" array with a new object "target".

The "target" object should point to the target file for the symlink. Will be
used by an upcoming xbps utils version.
This commit is contained in:
Juan RP 2011-05-31 16:39:02 +02:00
parent 4ca18691b0
commit 1bcd94905c
2 changed files with 18 additions and 21 deletions

View file

@ -36,7 +36,11 @@ set_defvars()
: ${XBPS_META_PATH:=$XBPS_DBDIR/}
: ${XBPS_PKGMETADIR:=$XBPS_DBDIR/metadata}
: ${XBPS_SRCPKGDIR:=$XBPS_DISTRIBUTIONDIR/srcpkgs}
: ${XBPS_DESTDIR:=$XBPS_MASTERDIR/pkg-destdir}
if [ -n "$in_chroot" ]; then
: ${XBPS_DESTDIR:=/pkg-destdir}
else
: ${XBPS_DESTDIR:=$XBPS_MASTERDIR/pkg-destdir}
fi
: ${XBPS_PACKAGESDIR:=$XBPS_MASTERDIR/pkg-binpkgs}
: ${XBPS_BUILDDIR:=$XBPS_MASTERDIR/pkg-builddir}
: ${XBPS_SRCDISTDIR:=$XBPS_MASTERDIR/pkg-srcdistdir}