cyberchef: 9.7.19 bump

This commit is contained in:
Yury Martynov 2019-10-29 13:02:24 +03:00
parent e2ad2db0de
commit 1699ff8a3f
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
3 changed files with 1 additions and 67 deletions

View file

@ -1,2 +1 @@
DIST cyberchef-9.7.13.zip 29524409 BLAKE2B 2f0168a267b6bbca4a84d8feff2a6fac38ac836b783be736e40502c4d3ea47e4cf989a6992faf8941ceaa43bbfb67817c5a2c7bc5d27d54a7240debbfcee86c5 SHA512 244f26c5d203dbf2c29e7ca5527b86662d68ab671050b61808b4d561b62d041433aa8db0ea3bc464ff9939f5e8d6d9fc26cbdb9bd314494ee6fad3838d4ffa57
DIST cyberchef-9.7.17.zip 29523411 BLAKE2B 51d8946aab3fa4c3184da71f507095b96ba0be56067a0c9378b502f532c6ddc8195b076c014b24215a9e8b67130b411a8b654e3cb806e04a47c99a8f1e991b46 SHA512 87d12bff14fc39063728a8f6914c812b93e18109a52d2a88898333743e3dfae0ffb48774d22144b4bedfb4029c6c701b12b3076938f282a866e627740e5bef19
DIST cyberchef-9.7.19.zip 29440519 BLAKE2B 10082b9e034ccd8278a4746e149bdd5f43bdcd1abad818caff7cce19cb1fb65c544ef968cb1fc7021473723518ba40c39cb609d63e999bd6a10228a9a8024d1e SHA512 d9e73d0b2f626cc74d1cba23f323719a5a6383f2c5900977caa0e73703d4121bfb45d2b0dadb28d1759b6aa923c3aec879b003150e99ca20b700680a5d8f7c75

View file

@ -1,65 +0,0 @@
# Copyright 1999-2019 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
}