diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-25 22:29:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-25 22:29:52 +0000 |
commit | 4dc9bfa1f12673bbf1343e64af7e0cd715534a9f (patch) | |
tree | b6bfc88046aa092bbc03342aef7eccf310d43692 /app-admin/gopass/gopass-1.15.10.ebuild | |
parent | 8cd3c41aa0ccead302235680b9e2fa9903d7548e (diff) |
gentoo auto-resync : 25:11:2023 - 22:29:52
Diffstat (limited to 'app-admin/gopass/gopass-1.15.10.ebuild')
-rw-r--r-- | app-admin/gopass/gopass-1.15.10.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/app-admin/gopass/gopass-1.15.10.ebuild b/app-admin/gopass/gopass-1.15.10.ebuild new file mode 100644 index 000000000000..f85c0b12c06a --- /dev/null +++ b/app-admin/gopass/gopass-1.15.10.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module optfeature + +DESCRIPTION="a simple but powerful password manager for the terminal" +HOMEPAGE="https://www.gopass.pw/" +SRC_URI="https://github.com/gopasspw/gopass/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~ajak/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz" + +LICENSE="MIT Apache-2.0 BSD MPL-2.0 BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~riscv ~x86" + +DEPEND=">=dev-lang/go-1.18" +RDEPEND=" + dev-vcs/git + >=app-crypt/gnupg-2 +" + +PATCHES=( + "${FILESDIR}/${PN}-1.15.3-skip-tests.patch" +) + +src_test() { + # https://github.com/gopasspw/gopass/blob/v1.15.3/.github/workflows/build.yml#L38 + git config --global user.name nobody || die + git config --global user.email foo.bar@example.org || die + + default +} + +src_install() { + emake install DESTDIR="${ED}/usr" + einstalldocs +} + +pkg_postinst() { + optfeature "browser integration" app-admin/gopass-jsonapi + optfeature "git credentials helper" app-admin/git-credential-gopass + optfeature "haveibeenpwnd.com integration" app-admin/gopass-hibp + optfeature "summon secrets helper" app-admin/gopass-summon-provider +} |