mirror of
https://github.com/Snawoot/hola-proxy.git
synced 2026-04-02 05:38:15 +00:00
fix snap build
This commit is contained in:
@@ -1,18 +1,24 @@
|
||||
name: hola-proxy
|
||||
version: '1.15.1'
|
||||
summary: Standalone Hola proxy client.
|
||||
description: |
|
||||
Standalone Hola proxy client. Just run it and it'll start plain HTTP proxy server forwarding traffic via Hola proxies of your choice.
|
||||
|
||||
confinement: strict
|
||||
base: core18
|
||||
base: core22
|
||||
adopt-info: hola-proxy
|
||||
|
||||
parts:
|
||||
hola-proxy:
|
||||
plugin: go
|
||||
source: .
|
||||
build-snaps: [go/latest/stable]
|
||||
build-packages:
|
||||
- gcc
|
||||
- make
|
||||
- git-core
|
||||
source: https://github.com/Snawoot/hola-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/hola-proxy "$SNAPCRAFT_PART_INSTALL"
|
||||
|
||||
Reference in New Issue
Block a user