app-admin/himitsu-totp - 9999 (guru)

Search

Install

Install this version:

emerge -a =app-admin/himitsu-totp-9999

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

autounmask =app-admin/himitsu-totp-9999

Or alternatively:

emerge --autounmask-write -a =app-admin/himitsu-totp-9999

Package Information

Description:
TOTP support for Himitsu
Homepage:
https://git.sr.ht/~sircmpwn/himitsu-totp
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 ~arm64 ~riscv 0
View Raw Ebuild
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

if [[ "${PV}" = "9999" ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/himitsu-totp"
else
	SRC_URI="https://git.sr.ht/~sircmpwn/himitsu-totp/archive/${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64 ~arm64 ~riscv"
fi

DESCRIPTION="TOTP support for Himitsu"
HOMEPAGE="https://git.sr.ht/~sircmpwn/himitsu-totp"
LICENSE="GPL-3"
SLOT="0"

RDEPEND="app-admin/himitsu:="
DEPEND="
	${RDEPEND}
	>=dev-lang/hare-0.25.2:=
"
BDEPEND="app-text/scdoc"

# hare binary
QA_FLAGS_IGNORED="usr/bin/hitotp"

src_configure() {
	sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die
	tc-export AS CC LD
}

Inherited Eclasses

Dependencies

DEPEND

	app-admin/himitsu:=
	>=dev-lang/hare-0.25.2:=

RDEPEND

app-admin/himitsu:=

BDEPEND

app-text/scdoc