summaryrefslogtreecommitdiff
path: root/sec-keys/jturnerusa/jturnerusa-0.ebuild
blob: b9992a265c9be0f4f356d76c397663c33ada8e89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="SSH key for John Turner."
HOMEPAGE="https://jturnerusa.dev"
SRC_URI="https://jturnerusa.dev/keys/ssh/gentoo-pc -> ${P}.asc"
S=${T}

LICENSE=""
SLOT="0"
KEYWORDS="~amd64"

src_compile() {
	local principal="jturner.usa@gmail.com"
	echo "${principal} $(cat ${DISTDIR}/${P}.asc)" > ${S}/jturnerusa.asc || die
}

src_install() {
	insinto /usr/share/ssh-keys
	newins ${S}/jturnerusa.asc ${PN}.asc
}