Files
opera-proxy/snapcraft.yaml
T
Vladislav Yarmak a5daf1da12 fix snap build
2025-03-28 15:07:06 +02:00

35 lines
828 B
YAML

name: opera-proxy
summary: Standalone Opera VPN proxies client.
description: |
Standalone Opera VPN proxies client. Just run it and it'll start plain HTTP proxy server forwarding traffic via proxies of your choice.
confinement: strict
base: core22
adopt-info: opera-proxy
parts:
opera-proxy:
plugin: go
build-snaps: [go/latest/stable]
build-packages:
- make
- git-core
source: https://github.com/Snawoot/opera-proxy
source-type: git
override-pull: |
craftctl pull
craftctl set-version \
"$(git describe --long --tags --always --match=v*.*.* | sed 's/v//')"
override-build:
make &&
cp bin/opera-proxy "$SNAPCRAFT_PART_INSTALL"
stage:
- opera-proxy
apps:
opera-proxy:
command: opera-proxy
plugs:
- network
- network-bind