blob: 66e368406b1c84f96652a8eb2c7a009a4d8e2979 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 2022-2024 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"
SLOT="0"
else
SRC_URI="https://git.sr.ht/~sircmpwn/himitsu/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~riscv"
SLOT="0/${PV}"
fi
DESCRIPTION="Secret storage system for Unix, suitable for storing passwords, keys, ..."
HOMEPAGE="https://git.sr.ht/~sircmpwn/himitsu"
LICENSE="GPL-3"
DEPEND="
>=dev-lang/hare-0.24.2:=
"
RDEPEND="
|| (
app-admin/hiprompt-gtk
gui-apps/hiprompt-gtk-py
)
"
BDEPEND="app-text/scdoc"
# binaries are hare-built
QA_FLAGS_IGNORED="usr/bin/.*"
src_configure() {
sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die
tc-export CC AR AS LD
}
src_install() {
default
exeinto /etc/user/init.d
newexe "${FILESDIR}/himitsud.initd" himitsud
}
|