mirror of
https://github.com/Snawoot/opera-proxy.git
synced 2025-09-02 02:30:21 +00:00
fix snap build
This commit is contained in:
parent
e3fb0dde2f
commit
8bff5867f4
1 changed files with 8 additions and 4 deletions
|
@ -5,14 +5,18 @@ description: |
|
||||||
Standalone Opera VPN proxies client. Just run it and it'll start plain HTTP proxy server forwarding traffic via proxies of your choice.
|
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
|
confinement: strict
|
||||||
base: core24
|
base: core22
|
||||||
|
|
||||||
parts:
|
parts:
|
||||||
opera-proxy:
|
opera-proxy:
|
||||||
plugin: go
|
plugin: go
|
||||||
source: .
|
build-snaps: [go/latest/stable]
|
||||||
build-packages:
|
source: https://github.com/Snawoot/opera-proxy
|
||||||
- gcc
|
source-type: git
|
||||||
|
override-pull: |
|
||||||
|
snapcraftctl pull
|
||||||
|
snapcraftctl set-version \
|
||||||
|
"$(git describe --long --tags --always --match=v*.*.* | sed 's/v//')"
|
||||||
override-build:
|
override-build:
|
||||||
make &&
|
make &&
|
||||||
cp bin/opera-proxy "$SNAPCRAFT_PART_INSTALL"
|
cp bin/opera-proxy "$SNAPCRAFT_PART_INSTALL"
|
||||||
|
|
Loading…
Add table
Reference in a new issue