mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 22:01:11 +02:00
app-misc/cyberchef: version bump
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Yury Martynov <email@linxon.ru>
This commit is contained in:
parent
923fb2ae01
commit
78e38b0b9d
2 changed files with 66 additions and 0 deletions
|
|
@ -1,2 +1,3 @@
|
|||
DIST cyberchef-9.12.0.zip 32180175 BLAKE2B e61e175331b47df96159855d74d3dcf04397551f52861d2b901e5d4b25231a1d2641eedf54281b58b9ed8109feca863e5a0dbb3a9c674c8fa1b7c5803364d9b4 SHA512 433d83706fe955ce3d526a8bf2130262c39fbf2b61981a61b699efde26fe8de2af58497cedff83a00857bac5aa461a51240e5f911dcf25606fbd56840584494c
|
||||
DIST cyberchef-9.13.1.zip 32205659 BLAKE2B 6562ca92dc2e50a692a9833d3c3d84e09408548468522bd72f525f5e737237a504c4e1c556c234f7c5b81cb1d5ad696ed5c9eea679f48f15151366fa917a9b54 SHA512 1b8bd9cbd5990ae6278629e23ebf7934e676613403c4006469251335662b289393528e47ade53905ef6d8e8102ca61771a19003cb04259fe2b5fba220af11739
|
||||
DIST cyberchef-9.18.0.zip 32286481 BLAKE2B 5bf77df514918c23271428562225a54b83a27e632a8ed1a8db30282dd59de4681ff364b9cc066637ea0ac2b3529e23222e06730dd79f1e02e42f277d02d3b95c SHA512 94fe172e00177ead5cfd919963039b5943d4de397f68676d9938fce9646955d55529c8dbb36e02d86524ad2ef3411772f8b47de55442193353d39bd943487a84
|
||||
|
|
|
|||
65
app-misc/cyberchef/cyberchef-9.18.0.ebuild
Normal file
65
app-misc/cyberchef/cyberchef-9.18.0.ebuild
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit eutils desktop xdg-utils
|
||||
|
||||
DESCRIPTION="A web app for encryption, encoding, compression and data analysis (offline)"
|
||||
HOMEPAGE="https://gchq.github.io/CyberChef"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/gchq/CyberChef"
|
||||
else
|
||||
SRC_URI="https://github.com/gchq/CyberChef/releases/download/v${PV}/CyberChef_v${PV}.zip -> ${P}.zip"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
S="${WORKDIR}"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT=0
|
||||
IUSE=""
|
||||
RDEPEND="
|
||||
app-arch/unzip
|
||||
x11-misc/xdg-utils"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
doins -r .
|
||||
|
||||
dosym "../${PN}/images/cyberchef-128x128.png" \
|
||||
"/usr/share/pixmaps/${PN}.png"
|
||||
|
||||
make_wrapper "${PN}" \
|
||||
"xdg-open /usr/share/${PN}/CyberChef_v${PV}.html"
|
||||
|
||||
make_desktop_entry $PN \
|
||||
"CyberChef" $PN \
|
||||
"Utility;Development"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "\nInstall your favorite web browser and make it as default (it is not necessary in Pentoo)"
|
||||
einfo "Example:"
|
||||
einfo " ~$ xdg-mime default firefox.desktop text/html"
|
||||
einfo " ~$ xdg-settings set default-web-browser firefox.desktop\n"
|
||||
#for x in \
|
||||
# "www-client/firefox-bin" \
|
||||
# "www-client/firefox" \
|
||||
# "www-client/chromium" \
|
||||
# "www-client/google-chrome" \
|
||||
# "www-client/google-chrome-beta" \
|
||||
# "www-client/google-chrome-unstable"
|
||||
#do
|
||||
# optfeature "${PN} support" "${x}"
|
||||
#done
|
||||
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
Loading…
Reference in a new issue