app-admin/passage - 1.7.4.2 (deso)

Search

Install

Install this version:

emerge -a =app-admin/passage-1.7.4.2

Package Information

Description:
A fork of password-store using age as encryption backend
Homepage:
https://github.com/FiloSottile/passage
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
1.7.4.2 8 amd64 0
View Raw Ebuild
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_PV="$(ver_rs 3 a)"

DESCRIPTION="A fork of password-store using age as encryption backend"
HOMEPAGE="https://github.com/FiloSottile/passage"
SRC_URI="https://github.com/FiloSottile/${PN}/archive/refs/tags/${MY_PV}.tar.gz"

S="${WORKDIR}/${PN}-${MY_PV}"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64"

IUSE="wayland git"

RDEPEND="
	app-crypt/rage
	app-shells/bash
	>=app-text/tree-1.7.0
	sys-apps/coreutils
	wayland? ( gui-apps/wl-clipboard )
	git? ( dev-vcs/git )
"

src_prepare() {
	default

	for patch in "${FILESDIR}"/*.patch; do
		eapply "$patch"
	done
}

src_install() {
	default

	mv "${ED}"/usr/share/fish/vendor_completions.d/passage.fish "${ED}"/usr/share/fish/vendor_completions.d/pass.fish

	cat <<-'EOF' > pass
	#!/usr/bin/env sh
	PASSAGE_AGE="age-gpg" passage "$@"
	EOF

	dobin pass
	dobin ${FILESDIR}/age-gpg
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-admin/passage | euse -E <flag> -p app-admin/passage | euse -D <flag> -p app-admin/passage

Global/Standard Flags

git

Dependencies

RDEPEND

	app-crypt/rage
	app-shells/bash
	>=app-text/tree-1.7.0
	sys-apps/coreutils
	wayland? ( gui-apps/wl-clipboard )
	git? ( dev-vcs/git )