opera-proxy/snapcraft.yaml
Vladislav Yarmak 11a104d0cb fix snap build
2025-03-28 15:41:01 +02:00

33 lines
823 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 default
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