Skip to content

Commit

Permalink
sec-keys/openpgp-keys-ghcup: new package, add 0
Browse files Browse the repository at this point in the history
Signed-off-by: hololeap <[email protected]>
  • Loading branch information
hololeap committed Dec 6, 2024
1 parent e4255a4 commit 4a2e3df
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sec-keys/openpgp-keys-ghcup/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
DIST openpgp-keys-ghcup-0-ben.asc 10645 BLAKE2B f6b98db5048e1b2c22887a909964af5fac5e59201cee563a714c1b89d064892415947adebdcff8d9ec42b9a0698c42999dac234f7d4dedde2eef22f8f79c7d85 SHA512 3fbf63c6c8eb0088c5f6734fa64a43fe6e59a8a8367271d08db8f4115529d6cf104ab8ab3a9e2b8550806df13bb811027a0840864d66a3c08e4a15950f868a5d
DIST openpgp-keys-ghcup-0-hecate.asc 2232 BLAKE2B 818d776a51f57adf4db155223d5fef6dd9e26a791c36df744e4f07fc135b20870099973369e9819f59ca9b71277548e64d223a8f74d6ea7ae63964d333f4bd2f SHA512 cf026aa4dd85a3f0ead577e988494a904b8759e8647987608c3ca7c06b7bc5b809e46f2a2ad3b5c6633b15515df4650669112434787a06fb51dbf3442b816734
DIST openpgp-keys-ghcup-0-jospald.asc 15041 BLAKE2B 61e6227ad8904ae232be655ea6230d9be7cb7fe9fb92b48f05cae3af4ee920e696aec3361c4ef6c33d91adacee3a0c8bd3435eaab802034c245468e2d5c3daf5 SHA512 b89df00ba42da15b22237cd6f070dd179e65565d3ceea19f76b19e7ed66b3352dfcd90cd2e381c7b6a020beae11175e999c3c76c3ca9d68400e51f0238046f53
DIST openpgp-keys-ghcup-0-zubin.asc 5303 BLAKE2B 8b752be8e94a5d950649275771ffbe86e734749158936cd657582c0863ff655f911ee2095faf85f49c39c81e422ba5b4e887d294b103b751e1987ca47a661459 SHA512 f1247eaf3ef07eabc9f4d311c70fc15a9688d44d490ea10a82da845ff65399c8a4eab9bc6b3d555f38e846f7af789d9f8d69e4708b3c9fb2e0a8633fcbe458a2
12 changes: 12 additions & 0 deletions sec-keys/openpgp-keys-ghcup/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>[email protected]</email>
<name>Gentoo Haskell</name>
</maintainer>
<upstream>
<remote-id type="hackage">ghcup</remote-id>
<remote-id type="github">haskell/ghcup-hs</remote-id>
</upstream>
</pkgmetadata>
28 changes: 28 additions & 0 deletions sec-keys/openpgp-keys-ghcup/openpgp-keys-ghcup-0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="OpenPGP keys used to sign GHCup releases"
HOMEPAGE="https://www.haskell.org/ghcup/install/#manual-installation"
SRC_URI="
https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x7D1E8AFD1D4A16D71FADA2F2CCC85C0E40C06A8C
-> ${P}-jospald.asc
https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xFE5AB6C91FEA597C3B31180B73EDE9E8CFBAEF01
-> ${P}-ben.asc
https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x88B57FCF7DB53B4DB3BFA4B1588764FBE22D19C4
-> ${P}-zubin.asc
https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xEAF2A9A722C0C96F2B431CA511AAD8CEDEE0CAEF
-> ${P}-hecate.asc
"
S="${WORKDIR}"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"

src_install() {
local files=( ${A} )
insinto /usr/share/openpgp-keys
newins - ghcup.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
}

0 comments on commit 4a2e3df

Please sign in to comment.