Add net-p2p/lanxchange
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
1
net-p2p/lanxchange/Manifest
Normal file
1
net-p2p/lanxchange/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST lanxchange-1.41.zip 757123 BLAKE2B 3630e08440d811fe329e6ce38f7e2eb4ad435e02bda9e8373a30344dee46f9c295ae0bfdf607cbfe1377067658207528083c65ad57dd6f6cd1fa8fbbf447c7cd SHA512 d873fd626b51a4555d0ae38edf660659a4dc5a5945b3688e967fd92b09845b12f12e346bb404de19b1987df5adad5bddb2781d99d94d164a422b392e8208bbea
|
||||
27
net-p2p/lanxchange/lanxchange-1.41.ebuild
Normal file
27
net-p2p/lanxchange/lanxchange-1.41.ebuild
Normal file
@@ -0,0 +1,27 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit wrapper desktop xdg
|
||||
|
||||
DESCRIPTION="A simple tool for spontaneous, local network file transfers."
|
||||
HOMEPAGE="https://lanxchange.com"
|
||||
SRC_URI="https://github.com/tfg13/LanXchange/releases/download/v${PV}/lxc.zip -> ${P}.zip"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="virtual/jre:1.8"
|
||||
|
||||
src_install() {
|
||||
insinto "/opt/lanxchange"
|
||||
doins -r "${S}/3rd_party_licenses"
|
||||
doins -r "${S}/img"
|
||||
doins "${S}/lanxchange.jar"
|
||||
# Chances are that the slot system will take care of the symlinks for Java
|
||||
# Hence the call to env(1)
|
||||
make_wrapper "lanxchange" "/usr/bin/env -S java -jar /opt/lanxchange/lanxchange.jar"
|
||||
# Now, the desktop entry
|
||||
newicon "/opt/lanxchange/img/logo.png" "${PN}.png"
|
||||
make_desktop_entry "${PN}" "LanXchange" "${PN}" "Network;P2P"
|
||||
}
|
||||
8
net-p2p/lanxchange/metadata.xml
Normal file
8
net-p2p/lanxchange/metadata.xml
Normal file
@@ -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>shinyoukai@laidback.moe</email>
|
||||
<name>Shin'ya Minazuki</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user