Commit a02d097b authored by Valentin Pechenov's avatar Valentin Pechenov Committed by Vitaly Lipatov

epm play: add nekoray

parent a1c4f734
#!/bin/sh
PKGNAME=nekoray
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="Qt based cross-platform GUI proxy configuration manager (backend: Xray / sing-box)"
URL="https://github.com/MatsuriDayo/nekoray"
. $(dirname $0)/common.sh
arch=x64
pkgtype=deb
PKGURL=$(eget --list --latest https://github.com/MatsuriDayo/nekoray/releases "nekoray-$VERSION-debian-$arch.$pkgtype")
install_pkgurl
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCT=nekoray
PRODUCTDIR=/opt/nekoray
. $(dirname $0)/common.sh
add_bin_link_command
add_libs_requires
cat <<EOF |create_file /usr/share/applications/$PRODUCT.desktop
[Desktop Entry]
Name=Nekoray
Comment=Qt based cross-platform GUI proxy configuration manager (backend: Xray / sing-box)
Exec=$PRODUCT -- %u -appdata
Icon=/opt/nekoray/nekoray.png
Type=Application
Terminal=false
Categories=Network;
EOF
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment