tree-2.0.1-r0 installs into /usr/tree instead of /usr/bin/tree
This prevents the utility from being usable via $PATH.
For example, as a consequence, pass
utility fails to list/search through entries:
user@localhost:~:0$ pass show
Password Store
/usr/bin/pass: line 404: tree: command not found
user@localhost:~:0$ which tree
user@localhost:~:1$ apk info -L tree
tree-2.0.1-r0 contains:
usr/tree
user@localhost:~:0$ ls -al /usr/tree
-rwxr-xr-x 1 root root 89928 Jan 4 12:51 /usr/tree
Looking at build log one can see this:
...
>>> tree: Entering fakeroot...
install -d /home/buildozer/aports/main/tree/pkg/tree/usr
install -d /home/buildozer/aports/main/tree/pkg/tree/usr/share/man/man1
install tree /home/buildozer/aports/main/tree/pkg/tree/usr/tree; \
install -m 644 doc/tree.1 /home/buildozer/aports/main/tree/pkg/tree/usr/share/man/man1/tree.1
...
https://build.alpinelinux.org/buildlogs/build-edge-aarch64/main/tree/tree-2.0.1-r0.log
So it looks like like man pages go into the right spot, but the binary doesn't.
The recent change to APKBUILD might be related:
package() {
- cd "$builddir"
- make prefix="$pkgdir/usr" MANDIR="${pkgdir}/usr/share/man/man1" install
+ make DESTDIR="$pkgdir/usr" MANDIR="${pkgdir}/usr/share/man" install
}