diff options
author | 2024-07-14 17:53:18 +0200 | |
---|---|---|
committer | 2024-07-14 17:53:53 +0200 | |
commit | ac448e3a6b8a771be99fecafe9e19582d1619692 (patch) | |
tree | 392c3472c65c03f6b610a337257ff892edb3ec06 | |
parent | dev-util/deblob: drop 0.6 (diff) | |
download | guru-ac448e3a6b8a771be99fecafe9e19582d1619692.tar.gz guru-ac448e3a6b8a771be99fecafe9e19582d1619692.tar.bz2 guru-ac448e3a6b8a771be99fecafe9e19582d1619692.zip |
dev-util/deblob: add 0.8
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
-rw-r--r-- | dev-util/deblob/Manifest | 2 | ||||
-rw-r--r-- | dev-util/deblob/deblob-0.7.ebuild | 1 | ||||
-rw-r--r-- | dev-util/deblob/deblob-0.8.ebuild | 52 |
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-util/deblob/Manifest b/dev-util/deblob/Manifest index 490b8c59c..57b1b3f55 100644 --- a/dev-util/deblob/Manifest +++ b/dev-util/deblob/Manifest @@ -1,2 +1,4 @@ DIST deblob-0.7.tar.gz 47879 BLAKE2B fa392bebcb07f36dfa894156ff494b23e514fd0c6d2d589fbfa110292a35e9ea8c2c89178e17a0797f01e66e98f16a8c71cea1b8746f8a70eca0cfabae83ae51 SHA512 b0857981a72bd52987a94ce7a6e59c17bc0ca882494bd4e6514f06ffd397bb14fba25562817f41b600b32c4708284d2768946696fbdd8d8a7d421c321fdfa0f7 DIST deblob-0.7.tar.gz.sign 305 BLAKE2B 184e4868f276b11c7d64e8d3b1de839d47033595aaa58b67d4a8e6dcdb593980f40c6e12b499635aee1e6f2e6cf9efb439445ff4a443b5ba71a5e5776b3f8473 SHA512 c2f3645ae2cc3bd102a98ef2500a80fd9d0ddf2f3117494bcdc8b4162a8a7e561e8b1a5d34641c35376de36a99967fece80c0678f9f21d14c57ede1617403655 +DIST deblob-0.8.tar.gz 48230 BLAKE2B c00bf903c7704f0d86adbb641effcb34cef232fe0565a19e96579449ccfeff99ed8f8e15ea2e3de010af91cf0d4cc0afb2c20fae67f49908919e225536dd1d1b SHA512 fe40710344fd5ea24121114cd7f6435993f7fe4fc45412253bc71e5b54483d02a548be5eab379eb4581979e458177b6a9e341fb5652dccd35d71cb28484c8e97 +DIST deblob-0.8.tar.gz.sign 305 BLAKE2B f1eb227d36b196e562501fe7a471c647608ac0e1a4724f77be7fb4386a7994a5594008e90fcf0a3977ee3a960958eeb6fae0ca9405f6566589a68d0ddf99a9ca SHA512 09b8916bbe5e3d4202de8724f12d57ef56ce896d4d2f4caab7eef28370b7bd951efe40ee88051a89857273362675d6cffecfb5ec45a86fb72273daaff1a80e97 diff --git a/dev-util/deblob/deblob-0.7.ebuild b/dev-util/deblob/deblob-0.7.ebuild index 695777124..7e27bd902 100644 --- a/dev-util/deblob/deblob-0.7.ebuild +++ b/dev-util/deblob/deblob-0.7.ebuild @@ -24,6 +24,7 @@ SLOT="0" DEPEND=" >=dev-lang/hare-0.24.0:= + <dev-lang/hare-0.24.2 " # built by hare diff --git a/dev-util/deblob/deblob-0.8.ebuild b/dev-util/deblob/deblob-0.8.ebuild new file mode 100644 index 000000000..5c90df1f6 --- /dev/null +++ b/dev-util/deblob/deblob-0.8.ebuild @@ -0,0 +1,52 @@ +# Copyright 2021-2024 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ "$PV" == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.sr.ht/~lanodan/deblob" +else + VERIFY_SIG_METHOD=signify + inherit verify-sig + + SRC_URI=" + https://hacktivis.me/releases/${P}.tar.gz + verify-sig? ( https://hacktivis.me/releases/${P}.tar.gz.sign ) + " + KEYWORDS="~amd64 ~arm64 ~riscv" +fi + +DESCRIPTION="remove binary executables from a directory" +HOMEPAGE="https://git.sr.ht/~lanodan/deblob" +LICENSE="BSD" +SLOT="0" + +DEPEND=" + >=dev-lang/hare-0.24.2:= +" + +# built by hare +QA_FLAGS_IGNORED="usr/bin/deblob" + +if [[ "${PV}" != "9999" ]] +then + BDEPEND="${BDEPEND} verify-sig? ( sec-keys/signify-keys-lanodan:2024 )" + + VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/signify-keys/signify-keys-lanodan-2024.pub" + + src_unpack() { + if use verify-sig; then + # Too many levels of symbolic links + cd "${DISTDIR}" || die + cp ${A} "${WORKDIR}" || die + cd "${WORKDIR}" || die + verify-sig_verify_detached "${P}.tar.gz" "${P}.tar.gz.sign" + fi + default + } +fi + +src_install() { + PREFIX="/usr" default +} |