feature test
Some checks failed
Build packages / discover (push) Failing after 2m6s
Build packages / build (push) Has been skipped

This commit is contained in:
paltovkone
2026-03-07 18:32:45 +04:00
commit e922074ba0
10 changed files with 216 additions and 0 deletions

35
v2ray/nfpm.yaml Normal file
View File

@ -0,0 +1,35 @@
name: v2ray
version: ${VERSION}
arch: amd64
platform: linux
maintainer: nakolenke <apt@nakolenke.org>
description: V2Ray proxy tool (v2fly/v2ray-core)
license: MIT
depends:
- systemd
contents:
- src: dist/v2ray
dst: /usr/bin/v2ray
file_info:
mode: 0755
- src: dist/geoip.dat
dst: /usr/share/v2ray/geoip.dat
- src: dist/geosite.dat
dst: /usr/share/v2ray/geosite.dat
- src: dist/config.json
dst: /etc/v2ray/config.json
type: config|noreplace
- src: dist/systemd/system/v2ray.service
dst: /lib/systemd/system/v2ray.service
- src: dist/systemd/system/v2ray@.service
dst: /lib/systemd/system/v2ray@.service
scripts:
postinstall: scripts/postinstall.sh
preremove: scripts/preremove.sh