app-crypt/totp-cli-bin - 1.9.2 (guru)

Search

Install

Install this version:

emerge -a =app-crypt/totp-cli-bin-1.9.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-crypt/totp-cli-bin-1.9.2

Or alternatively:

emerge --autounmask-write -a =app-crypt/totp-cli-bin-1.9.2

Package Information

Description:
Authy/Google Authenticator like TOTP CLI tool written in Go
Homepage:
https://github.com/yitsushi/totp-cli
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.9.2 9 -* ~amd64 ~arm64 ~x86 0
View Raw Ebuild
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=9

DESCRIPTION="Authy/Google Authenticator like TOTP CLI tool written in Go"
HOMEPAGE="https://github.com/yitsushi/totp-cli"
SRC_URI="
	amd64? (
		https://github.com/yitsushi/totp-cli/releases/download/v${PV}/totp-cli_Linux_x86_64.tar.gz
		-> ${P}-amd64.tar.gz
	)
	arm64? (
		https://github.com/yitsushi/totp-cli/releases/download/v${PV}/totp-cli_Linux_arm64.tar.gz
		-> ${P}-arm64.tar.gz
	)
	x86? (
		https://github.com/yitsushi/totp-cli/releases/download/v${PV}/totp-cli_Linux_i386.tar.gz
		-> ${P}-x86.tar.gz
	)
"

S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64 ~x86"
RESTRICT="strip"
DOCS=( README.md )

QA_PREBUILT="usr/bin/${PN}"

src_install() {
	newbin totp-cli "${PN}"
	einstalldocs
}

pkg_postinst() {
	einfo "For a more mature TOTP you can try app-admin/keepassxc, cli included"
}

Manifest for 1.9.2

Type File Size Source URLs
DIST totp-cli-bin-1.9.2-amd64.tar.gz 2063916 bytes https://github.com/yitsushi/totp-cli/releases/download/v1.9.2/totp-cli_Linux_x86_64.tar.gz
DIST totp-cli-bin-1.9.2-arm64.tar.gz 1883841 bytes https://github.com/yitsushi/totp-cli/releases/download/v1.9.2/totp-cli_Linux_arm64.tar.gz
DIST totp-cli-bin-1.9.2-x86.tar.gz 1962059 bytes https://github.com/yitsushi/totp-cli/releases/download/v1.9.2/totp-cli_Linux_i386.tar.gz