Files
opera-proxy/snapcraft.yaml
T

34 lines
823 B
YAML
Raw Normal View History

2021-03-28 20:07:36 +03:00
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
2025-03-28 12:35:50 +02:00
base: core22
2025-03-28 15:07:06 +02:00
adopt-info: opera-proxy
2021-03-28 20:07:36 +03:00
parts:
opera-proxy:
plugin: go
2025-03-28 12:35:50 +02:00
build-snaps: [go/latest/stable]
2025-03-28 15:07:06 +02:00
build-packages:
- make
- git-core
2025-03-28 12:35:50 +02:00
source: https://github.com/Snawoot/opera-proxy
source-type: git
override-pull: |
2025-03-28 15:30:56 +02:00
craftctl default
2025-03-28 15:41:01 +02:00
craftctl set version="$(git describe --long --tags --always --match=v*.*.* | sed 's/v//')"
2021-03-28 20:07:36 +03:00
override-build:
make &&
cp bin/opera-proxy "$SNAPCRAFT_PART_INSTALL"
stage:
- opera-proxy
apps:
opera-proxy:
command: opera-proxy
plugs:
- network
- network-bind