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:
parent
fb09975b25
commit
21e70a6a85
1
net-analyzer/ipscan-bin/Manifest
Normal file
1
net-analyzer/ipscan-bin/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST ipscan-bin-3.7.3.jar 1809216 BLAKE2B 7278eb933f0a451f188bea802ac378a786647de257c92d52098becf9108efb57ae26d49262c2e0a06706e7a2d456a9386b5bc078356d13353c4da59ef6c39d9d SHA512 4c1d2a97ce6745693756089c10d9002875073107dd46218a88070ee568dda2a29d2379fdd0c846756648ca21af845fa60931edb4d1597c735c12fe550b6845fd
|
41
net-analyzer/ipscan-bin/ipscan-bin-3.7.3.ebuild
Normal file
41
net-analyzer/ipscan-bin/ipscan-bin-3.7.3.ebuild
Normal 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;"
|
||||||
|
}
|
11
net-analyzer/ipscan-bin/metadata.xml
Normal file
11
net-analyzer/ipscan-bin/metadata.xml
Normal 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>
|
Loading…
Reference in New Issue
Block a user