blob: 68988fc7fc92d6a7b7c4b0b22b9f502e4702919c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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.24.2:=
"
BDEPEND="app-text/scdoc"
# hare binary
QA_FLAGS_IGNORED="usr/bin/hitotp"
src_configure() {
sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die
}
|