mirror of
https://github.com/Snawoot/opera-proxy.git
synced 2025-09-01 18:20:23 +00:00
33 lines
823 B
YAML
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
|