app-crypt/totp-cli-bin: new package

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
Vitaly Zdanevich
2024-05-27 04:18:57 +04:00
parent a2eb7cba03
commit 23487b9ca5
3 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Authy/Google Authenticator like TOTP CLI tool written in Go"
HOMEPAGE="https://github.com/yitsushi/totp-cli"
SRC_URI="https://github.com/yitsushi/totp-cli/releases/download/v$PV/totp-cli_Linux_x86_64.tar.gz"
S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="strip"
QA_PREBUILT="usr/bin/totp-cli"
src_install() {
newbin totp-cli ${PN}
}