net-analyzer/ipscan-bin: new pkg; add 3.7.3

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
Maciej Barć 2021-01-11 07:41:48 +01:00
parent fb09975b25
commit 21e70a6a85
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
3 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST ipscan-bin-3.7.3.jar 1809216 BLAKE2B 7278eb933f0a451f188bea802ac378a786647de257c92d52098becf9108efb57ae26d49262c2e0a06706e7a2d456a9386b5bc078356d13353c4da59ef6c39d9d SHA512 4c1d2a97ce6745693756089c10d9002875073107dd46218a88070ee568dda2a29d2379fdd0c846756648ca21af845fa60931edb4d1597c735c12fe550b6845fd

View File

@ -0,0 +1,41 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="${PN/-bin/}"
inherit wrapper desktop xdg
DESCRIPTION="Angry IP Scanner - fast and friendly network scanner"
HOMEPAGE="https://angryip.org/"
SRC_URI="https://github.com/angryip/${MY_PN}/releases/download/${PV}/${MY_PN}-linux64-${PV}.jar -> ${P}.jar"
RESTRICT="bindist mirror strip test"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64"
RDEPEND="
>=virtual/jre-1.7:*
x11-libs/gtk+:3
"
S="${DISTDIR}"
src_unpack() {
# Don't unpack; instead:
if ! use amd64
then
die "Unsupported architecture"
fi
}
src_install() {
insinto "/opt/${PN}"
newins "${P}.jar" "${PN}.jar"
make_wrapper "${PN}" "java -jar /opt/${PN}/${PN}.jar"
# TODO: icon is ipscan (we relay on 3rd party icons)
make_desktop_entry "${PN}" "${PN}" "${MY_PN}" "Network;"
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>xgqt@protonmail.com</email>
<name>Maciej Barć</name>
</maintainer>
<upstream>
<remote-id type="github">angryip/ipscan</remote-id>
</upstream>
</pkgmetadata>