net-analyzer/ipscan-bin: add 3.9.1

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2024-02-12 20:03:47 +02:00
parent 9c0f00beef
commit 82a56c1687
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
2 changed files with 56 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST ipscan-bin-3.7.5.jar 1777291 BLAKE2B b7f571e268b4aa366e673415e633c94b75ba786c900e21f80ea2d424d92981030b9cf0a8059eeecc016e160dcfa3b076a8015982b40640e53a88e605766b0eba SHA512 fd8af5cc590167a5b24f537755d21758e9d1adbfd3c074592e05acfcf6cceee97198cc940e923aad6ebe4f86cd251ce8731ef4bd0893647e3c507f6143448f01
DIST ipscan_3.9.1_amd64.deb 1721080 BLAKE2B 56dedb44a44d2043f040f2ee488cb4ba36a93056faff7ca1b6f9122016a21edff529538ef428601483fd0b54aecf2edf1db6f52015a5def13afcb2a4af477b7f SHA512 a8ed9aa92e280c53f4ffe1a9d5821ecaacf4367930df235a08ab948243ee52c2f014e616044ebea692262d8c1b6323615b077ab482529a4de927e9c8652a0aaa

View File

@ -0,0 +1,55 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PN="${PN/-bin/}"
inherit unpacker xdg
DESCRIPTION="Angry IP Scanner - fast and friendly network scanner"
HOMEPAGE="https://angryip.org/"
SRC_URI="
amd64? ( https://github.com/angryip/ipscan/releases/download/${PV}/ipscan_${PV}_amd64.deb )
"
S="${WORKDIR}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64"
RESTRICT="bindist mirror test"
RDEPEND="
!net-analyzer/ipscan
>=virtual/jre-11:*
x11-libs/gtk+:3
"
QA_PREBUILT="*"
DESTDIR="/opt/ipscan"
src_prepare() {
default
# Install jar into opt instead
sed -i -e 's|/usr/lib\*|/opt|' usr/bin/ipscan || die
# 1. deprecated
# 2. unregistered
sed -i \
-e '/Categories/ s/Application;//' \
-e '/Categories/ s/Internet;//' \
usr/share/applications/ipscan.desktop || die
}
src_install() {
dobin usr/bin/ipscan
insinto ${DESTDIR}
doins usr/lib/ipscan/*
insinto /usr/share
doins -r usr/share/{applications,metainfo,pixmaps}
}