commit: feaf23c25f61aa2bbb8381217b629eddd35f9653 Author: Rahul Sandhu <rahul <AT> sandhuservices <DOT> dev> AuthorDate: Wed Dec 21 22:16:25 2022 +0000 Commit: Rahul Sandhu <rahul <AT> sandhuservices <DOT> dev> CommitDate: Wed Dec 21 22:16:43 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=feaf23c2
gui-apps/packettracer: new package, add 8.2.0 Signed-off-by: Rahul Sandhu <rahul <AT> sandhuservices.dev> gui-apps/packettracer/Manifest | 1 + gui-apps/packettracer/manifest.xml | 8 +++++ gui-apps/packettracer/packettracer-8.2.0.ebuild | 43 +++++++++++++++++++++++++ 3 files changed, 52 insertions(+) diff --git a/gui-apps/packettracer/Manifest b/gui-apps/packettracer/Manifest new file mode 100644 index 000000000..f08f1abdc --- /dev/null +++ b/gui-apps/packettracer/Manifest @@ -0,0 +1 @@ +DIST CiscoPacketTracer_820_Ubuntu_64bit.deb 320679542 BLAKE2B a2cc1e6c54f8d37282c38db2afee66664be613528d0f51fb3396a770946e2ace97e4947509ccdfc648c8e6b3b78b1a2a402848a1ff457ba703456141806e9025 SHA512 7e1c64af03d3bd99ed627d66e221094f80a28a87229ddb9ae5b98a5e38e28f45dfdd7ecc31e7253b17c11b7124c183125063c2a8e13bfb139cae6dd184b49226 diff --git a/gui-apps/packettracer/manifest.xml b/gui-apps/packettracer/manifest.xml new file mode 100644 index 000000000..5c8851608 --- /dev/null +++ b/gui-apps/packettracer/manifest.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Rahul Singh Sandhu</name> + </maintainer> +</pkgmetadata> diff --git a/gui-apps/packettracer/packettracer-8.2.0.ebuild b/gui-apps/packettracer/packettracer-8.2.0.ebuild new file mode 100644 index 000000000..b9513ea23 --- /dev/null +++ b/gui-apps/packettracer/packettracer-8.2.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v3 + +EAPI=8 + +inherit desktop pax-utils unpacker xdg + +DESCRIPTION="Cisco's packet tracer" +HOMEPAGE="https://www.netacad.com/portal/resources/packet-tracer" +SRC_URI="CiscoPacketTracer_820_Ubuntu_64bit.deb" + +LICENSE="Cisco" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +RESTRICT="fetch mirror strip" + +DEPEND="" +RDEPEND="${DEPEND} + dev-libs/icu + x11-libs/xcb-util +" +S="${WORKDIR}" +QA_PREBUILT="opt/pt/*" + +pkg_nofetch(){ + ewarn "To fetch sources, you need a Cisco account which is" + ewarn "available if you're a web-learning student, instructor" + ewarn "or you sale Cisco hardware, etc." + ewarn "after that, go to https://www.netacad.com and login with" + ewarn "your account, and after that, you should download a file" + ewarn "named \"${A}\" then move it to" + ewarn "your DISTDIR directory" + ewarn "and then, you can proceed with the installation." +} + +src_install(){ + cp -r . "${ED}" + for icon in pka pkt pkz; do + newicon -s 48x48 -c mimetypes opt/pt/art/${icon}.png application-x-${icon}.png + done + dobin opt/pt/packettracer +}
