summaryrefslogtreecommitdiff
path: root/app-admin/gopass-hibp/gopass-hibp-1.16.1.ebuild
blob: 6ddff022c4b5a32c3866bfd3a62689b47ca7b0d4 (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
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

DESCRIPTION="Gopass haveibeenpwnd.com integration"
HOMEPAGE="https://github.com/gopasspw/gopass-hibp"
SRC_URI="https://github.com/gopasspw/gopass-hibp/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-vendor.tar.xz"

LICENSE="MIT"
# Dependent licenses
LICENSE+=" BSD BSD-2 MIT MPL-2.0"
SLOT="0"
KEYWORDS="amd64 ~ppc64 ~x86"

RDEPEND="
	dev-vcs/git
	>=app-crypt/gnupg-2
"
BDEPEND=">=dev-lang/go-1.24.1"

src_prepare() {
	default

	# remove stripping from Makefile (bug #960394)
	sed -e '/ldflags/s/-s //g' -i Makefile || die
}