diff options
author | Eric Joldasov <bratishkaerik@landless-city.net> | 2024-03-30 13:34:32 +0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-05-20 08:48:25 +0100 |
commit | 7f0030f20b6e01ae7deb80143dd3a39e0d69234e (patch) | |
tree | 4e6b6d61c6d356460e2c3dbc1309595333ff7464 /dev-lang/zig/zig-9999.ebuild | |
parent | dev-lang/zig-bin: add verify-sig support (diff) | |
download | gentoo-7f0030f20b6e01ae7deb80143dd3a39e0d69234e.tar.gz gentoo-7f0030f20b6e01ae7deb80143dd3a39e0d69234e.tar.bz2 gentoo-7f0030f20b6e01ae7deb80143dd3a39e0d69234e.zip |
dev-lang/zig: add verify-sig support
Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/zig/zig-9999.ebuild')
-rw-r--r-- | dev-lang/zig/zig-9999.ebuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/dev-lang/zig/zig-9999.ebuild b/dev-lang/zig/zig-9999.ebuild index d3ce3edd625b..a6c2c79a6a38 100644 --- a/dev-lang/zig/zig-9999.ebuild +++ b/dev-lang/zig/zig-9999.ebuild @@ -14,8 +14,17 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/ziglang/zig.git" inherit git-r3 else - SRC_URI="https://ziglang.org/download/${PV}/${P}.tar.xz" + VERIFY_SIG_METHOD=minisig + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/minisig-keys/zig-software-foundation.pub + inherit verify-sig + + SRC_URI=" + https://ziglang.org/download/${PV}/${P}.tar.xz + verify-sig? ( https://ziglang.org/download/${PV}/${P}.tar.xz.minisig ) + " KEYWORDS="~amd64 ~arm ~arm64" + + BDEPEND="verify-sig? ( sec-keys/minisig-keys-zig-software-foundation )" fi # project itself: MIT |