We should remove the ${srcdir}/${pkgname}/
from the for-loop?
for i in `ls ${srcdir}/${pkgname}/libexec/`; do
install -m755 "${srcdir}/${pkgname}/libexec/$i" "${pkgdir}/usr/local/libexec/$i"
done
Also, it seems very likely that 1.0.1 broke the installation via tfenv as now it expects to find CHANGELOG.md but this PKGBUILD does not copy/install that file.
https://github.com/tfutils/tfenv/pull/113
There is also issue about where to install CHANGELOG.md because /usr/local/
(which I think the upstream expects it to be at) might not be a good idea.
Solution could be we install the whole repository and symlink tfenv/bin/*
to /usr/local/bin/` but I am not sure if that is a good practice for AUR.
Pinned Comments
T4cC0re commented on 2020-04-20 17:53 (UTC)
tfenv 2.0!
Also some under the hood improvements to the way this is packaged