Please install the keyring for gpg authentications. With the following patch, one can create a file /opt/tfenv/use-gpgv
containing trust-tfenv: yes
and further installations will check the gpg checksum:
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,6 +26,7 @@ package() {
mkdir -p "${pkgdir}/opt/tfenv/libexec"
mkdir -p "${pkgdir}/opt/tfenv/lib"
mkdir -p "${pkgdir}/opt/tfenv/bin"
+ mkdir -p "${pkgdir}/opt/tfenv/share"
# This patches tfenv to use a separate dir for versions and the default version
sed -i 's:${TFENV_CONFIG_DIR}/version:/var/lib/tfenv/version:g' {libexec/tfenv-*,lib/*.sh}
@@ -42,6 +43,9 @@ package() {
for i in "${srcdir}/${pkgname}-${pkgver}/lib/"*; do
install -m555 "$i" "${pkgdir}/opt/tfenv/lib/$(basename "$i")"
done
+ for i in "${srcdir}/${pkgname}-${pkgver}/share/"*; do
+ install -m644 "$i" "${pkgdir}/opt/tfenv/share/$(basename "$i")"
+ done
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE
}
(BTW, why is the mode set to -m555
so that not even root as write permissions?)
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