-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Haelwenn (lanodan) Monnier <[email protected]>
- Loading branch information
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
DIST deblob-0.8.tar.gz 48230 BLAKE2B c00bf903c7704f0d86adbb641effcb34cef232fe0565a19e96579449ccfeff99ed8f8e15ea2e3de010af91cf0d4cc0afb2c20fae67f49908919e225536dd1d1b SHA512 fe40710344fd5ea24121114cd7f6435993f7fe4fc45412253bc71e5b54483d02a548be5eab379eb4581979e458177b6a9e341fb5652dccd35d71cb28484c8e97 | ||
DIST deblob-0.8.tar.gz.sign 305 BLAKE2B f1eb227d36b196e562501fe7a471c647608ac0e1a4724f77be7fb4386a7994a5594008e90fcf0a3977ee3a960958eeb6fae0ca9405f6566589a68d0ddf99a9ca SHA512 09b8916bbe5e3d4202de8724f12d57ef56ce896d4d2f4caab7eef28370b7bd951efe40ee88051a89857273362675d6cffecfb5ec45a86fb72273daaff1a80e97 | ||
DIST deblob-0.9.tar.gz 2062509 BLAKE2B 47170649958cf6a9ad77d8d803aacac7ba20bfb3f8a89cb3e3907d576596ad818a45b7e527583d5deed33acfc667d25f32abc48caa3f91ebd9a4f183ec2857f1 SHA512 8b0521e8cbce0cd861f67f63ba5e9dc8df2c39410771e56b6bb74f144dee156307e2eba72a6cc671a6d53e2cec17801c84c35df553fbdd3e08ff44f76913c549 | ||
DIST deblob-0.9.tar.gz.sign 305 BLAKE2B 1b2b81f1567c2a217db9bf958ba586e85f5343d7e1f2aa047a4b1cbf9e7728e541a4c02373a4433fcfa113c3ddb365440f81289d9b9ea69a19e12aa0c830ee22 SHA512 1ec3b366a0cacd28ae38d0f68b4ffa40bfd1268fba9d93796a0c1e2fcc9042e9b132c014d960d67736300020d4baed77250ccaa1fce3f01b68935a795bb7b447 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Copyright 2021-2024 Haelwenn (lanodan) Monnier <[email protected]> | ||
# 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 | ||
} |