5 export XBPS_TARGET_ARCH
="$2" XBPS_DISTDIR
=/hostrepo XBPS_HOSTDIR
="$HOME/hostdir"
6 export DIFF
='diff --unified=0 --report-identical-files --suppress-common-lines
7 --color=always --label REPO --label BUILT'
8 ARGS
="-a $2 -R https://repo-ci.voidlinux.org/current"
11 for subpkg
in $
(xsubpkg
$pkg); do
12 if xbps-query
--repository=$HOME/hostdir
/binpkgs
/bootstrap \
13 --repository=$HOME/hostdir
/binpkgs \
14 --repository=$HOME/hostdir
/binpkgs
/nonfree \
15 -i "$subpkg" >&/dev
/null
; then
16 /bin
/echo -e "\x1b[34mFile Diff of $subpkg:\x1b[0m"
17 xpkgdiff
$ARGS -f $subpkg
18 /bin
/echo -e "\x1b[34mMetadata Diff of $subpkg:\x1b[0m"
19 xpkgdiff
$ARGS -S $subpkg
20 /bin
/echo -e "\x1b[34mDependency Diff of $subpkg:\x1b[0m"
21 xpkgdiff
$ARGS -x $subpkg
23 /bin
/echo -e "\x1b[33m$subpkg wasn't found\x1b[0m"