I don’t know where the problem is but the new package tree has no binary just the man
2.0.1
tar -Jtvf tree-2.0.1-1-aarch64.pkg.tar.xz
-rw-r–r-- root/root 4622 2022-01-21 10:50 .BUILDINFO
-rw-r–r-- root/root 373 2022-01-21 10:50 .MTREE
-rw-r–r-- root/root 381 2022-01-21 10:50 .PKGINFO
drwxr-xr-x root/root 0 2022-01-21 10:50 usr/
drwxr-xr-x root/root 0 2022-01-21 10:50 usr/share/
drwxr-xr-x root/root 0 2022-01-21 10:50 usr/share/man/
drwxr-xr-x root/root 0 2022-01-21 10:50 usr/share/man/man1/
-rw-r–r-- root/root 5470 2022-01-21 10:50 usr/share/man/man1/tree.1.gz
And for the older one
1.8.0
tar -Jtvf tree-1.8.0-2-aarch64.pkg.tar.xz
-rw-r–r-- root/root 5090 2020-04-23 20:32 .BUILDINFO
-rw-r–r-- root/root 453 2020-04-23 20:32 .MTREE
-rw-r–r-- root/root 383 2020-04-23 20:32 .PKGINFO
drwxr-xr-x root/root 0 2020-04-23 20:32 usr/
drwxr-xr-x root/root 0 2020-04-23 20:32 usr/bin/
-rwxr-xr-x root/root 106192 2020-04-23 20:32 usr/bin/tree
drwxr-xr-x root/root 0 2020-04-23 20:32 usr/share/
drwxr-xr-x root/root 0 2020-04-23 20:32 usr/share/man/
drwxr-xr-x root/root 0 2020-04-23 20:32 usr/share/man/man1/
-rwxr-xr-x root/root 4629 2020-04-23 20:32 usr/share/man/man1/tree.1.gz