blob: ac947b82bea965b9dbf11ee2a95f097743b3578c (
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
|
# 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-ssh"
else
SRC_URI="https://git.sr.ht/~sircmpwn/himitsu-ssh/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="SSH integration for Himitsu"
HOMEPAGE="https://git.sr.ht/~sircmpwn/himitsu-ssh"
LICENSE="GPL-3"
SLOT="0"
RDEPEND="
>=app-admin/himitsu-0.8:=
>=dev-hare/hare-ssh-0.24.2:=
"
DEPEND="
${RDEPEND}
>=dev-lang/hare-0.24.2:=
"
BDEPEND="app-text/scdoc"
# All binaries are hare-built
QA_FLAGS_IGNORED=".*"
src_configure() {
sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die
}
src_test() {
# Don't run tests if there's none (which is the case of 0.3)
grep -r '@test fn' . && emake check
}
|