summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sec-keys')
-rw-r--r--sec-keys/openpgp-keys-voikko/Manifest1
-rw-r--r--sec-keys/openpgp-keys-voikko/metadata.xml9
-rw-r--r--sec-keys/openpgp-keys-voikko/openpgp-keys-voikko-20201013.ebuild19
3 files changed, 29 insertions, 0 deletions
diff --git a/sec-keys/openpgp-keys-voikko/Manifest b/sec-keys/openpgp-keys-voikko/Manifest
new file mode 100644
index 000000000000..b6ed44916605
--- /dev/null
+++ b/sec-keys/openpgp-keys-voikko/Manifest
@@ -0,0 +1 @@
+DIST 4AE3942E.asc.html 5476 BLAKE2B 22b3acf6d4360b1686890596e7c8de2a3a38e739aa0ea4ae7fa7e09295127c7196f5af5750bd30d5260365206e08397e3bda970a4b7cdfb2d0827f80f2810758 SHA512 025bafbfe98e2437a3919f4651e7583a5fccd60ff110904189969ce5fe1770ed4222c60a530065b7720a0e233d1a138b55cd7df4c8f28337b9e953547434429c
diff --git a/sec-keys/openpgp-keys-voikko/metadata.xml b/sec-keys/openpgp-keys-voikko/metadata.xml
new file mode 100644
index 000000000000..42361307323b
--- /dev/null
+++ b/sec-keys/openpgp-keys-voikko/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>juippis@gentoo.org</email>
+ <name>Joonas Niilola</name>
+ </maintainer>
+ <stabilize-allarches/>
+</pkgmetadata>
diff --git a/sec-keys/openpgp-keys-voikko/openpgp-keys-voikko-20201013.ebuild b/sec-keys/openpgp-keys-voikko/openpgp-keys-voikko-20201013.ebuild
new file mode 100644
index 000000000000..4f61a197345d
--- /dev/null
+++ b/sec-keys/openpgp-keys-voikko/openpgp-keys-voikko-20201013.ebuild
@@ -0,0 +1,19 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="OpenPGP keys used to sign voikko* packages"
+HOMEPAGE="https://voikko.puimula.org/"
+SRC_URI="http://keys.gnupg.net/pks/lookup?op=get&search=0x3D309B604AE3942E -> 4AE3942E.asc.html"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
+
+S="${WORKDIR}"
+
+src_install() {
+ insinto /usr/share/openpgp-keys
+ newins - voikko.asc < <(awk '/-----BEGIN PGP PUBLIC KEY BLOCK-----/,/-----END PGP PUBLIC KEY BLOCK-----/' ${DISTDIR}/4AE3942E.asc.html || die)
+}