mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-06 21:25:02 +02:00
36 lines
722 B
Bash
36 lines
722 B
Bash
# Copyright 2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DESCRIPTION="Safely store secrets in a VCS repo"
|
|
HOMEPAGE="https://github.com/StackExchange/blackbox"
|
|
SRC_URI="https://github.com/StackExchange/blackbox/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
RDEPEND="
|
|
app-shells/bash
|
|
"
|
|
|
|
src_prepare() {
|
|
default
|
|
|
|
# Don't pollute the bin directory with shared scripts.
|
|
sed -r -i "s:\b(source .*/)(_[^/]+\.sh)\b:\1../share/${PN}/\2:g" bin/* || die
|
|
}
|
|
|
|
src_compile() {
|
|
:
|
|
}
|
|
|
|
src_install() {
|
|
dobin bin/${PN}_*
|
|
insinto /usr/share/${PN}
|
|
doins bin/_*.sh
|
|
|
|
dodoc AUTHORS {CHANGELOG,DESIGN,README}.md
|
|
docinto manual
|
|
dodoc docs/*
|
|
}
|