blob: c6c088a0b75de1b069543b49fad197630375df5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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}
}
|