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

EAPI=8

inherit go-module

DESCRIPTION="Gopass Browser Bindings"
HOMEPAGE="https://github.com/gopasspw/gopass-jsonapi"
SRC_URI="https://github.com/gopasspw/gopass-jsonapi/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+=" Apache-2.0 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"

PATCHES=(
	"${FILESDIR}/${PN}-1.15.3-skip-test.patch"
)

src_prepare() {
	default

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