fix snap build

This commit is contained in:
Vladislav Yarmak
2025-03-28 15:07:06 +02:00
parent 8bff5867f4
commit a5daf1da12
+6 -3
View File
@@ -1,21 +1,24 @@
name: opera-proxy name: opera-proxy
version: '1.8.0'
summary: Standalone Opera VPN proxies client. summary: Standalone Opera VPN proxies client.
description: | 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: core22 base: core22
adopt-info: opera-proxy
parts: parts:
opera-proxy: opera-proxy:
plugin: go plugin: go
build-snaps: [go/latest/stable] build-snaps: [go/latest/stable]
build-packages:
- make
- git-core
source: https://github.com/Snawoot/opera-proxy source: https://github.com/Snawoot/opera-proxy
source-type: git source-type: git
override-pull: | override-pull: |
snapcraftctl pull craftctl pull
snapcraftctl set-version \ craftctl set-version \
"$(git describe --long --tags --always --match=v*.*.* | sed 's/v//')" "$(git describe --long --tags --always --match=v*.*.* | sed 's/v//')"
override-build: override-build:
make && make &&