mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -04:00
app-admin/himitsu-totp: new package, add 9999
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
1
app-admin/himitsu-totp/Manifest
Normal file
1
app-admin/himitsu-totp/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST himitsu-ssh-0.1.tar.gz 18378 BLAKE2B 92c9f9838dbab8df7d57321c1692fdfaa5e342eed14d08aac7eacb088e0eacaf5abe05b396eb05f14d0feb1f8d85034365464087729cc79b168a76253778b311 SHA512 f1bb3dfe2ee5843e867748f5177f1f34007674e3b6f2cb9ba701edc2dca8e979ba9882dc5012197b10053583b7536d71b0a214c57aa03e2576d08cb12e9e1e4c
|
||||
44
app-admin/himitsu-totp/himitsu-totp-9999.ebuild
Normal file
44
app-admin/himitsu-totp/himitsu-totp-9999.ebuild
Normal file
@@ -0,0 +1,44 @@
|
||||
# Copyright 2022 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"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-admin/himitsu:="
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-lang/hare:=
|
||||
"
|
||||
BDEPEND="app-text/scdoc"
|
||||
|
||||
# hare binary
|
||||
QA_FLAGS_IGNORED="usr/bin/hitotp"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i 's|^use query;|use himitsu::query;|' cmd/hitotp/main.ha || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
dobin hitotp
|
||||
}
|
||||
8
app-admin/himitsu-totp/metadata.xml
Normal file
8
app-admin/himitsu-totp/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>contact@hacktivis.me</email>
|
||||
<name>Haelwenn (lanodan) Monnier</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user