Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
bitmask-vpn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julian Merlin
bitmask-vpn
Commits
02d7cdd5
Unverified
Commit
02d7cdd5
authored
5 years ago
by
Kali Kaneko
Browse files
Options
Downloads
Patches
Plain Diff
[pkg] snap: get bitmask root from this repo
parent
a38b8b74
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
branding/templates/snap/snapcraft-template.yaml
+10
-17
10 additions, 17 deletions
branding/templates/snap/snapcraft-template.yaml
with
10 additions
and
17 deletions
branding/templates/snap/snapcraft-template.yaml
+
10
−
17
View file @
02d7cdd5
...
...
@@ -27,16 +27,11 @@ parts:
bitmask-root
:
after
:
[
desktop-gtk3
]
plugin
:
dump
source
:
https://0xacab.org/leap/bitmask-dev/
source-type
:
git
build-packages
:
-
wget
source
:
../../helpers/
override-prime
:
|
echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
mkdir -p bin
wget -O bin/bitmask-root https://0xacab.org/leap/bitmask-dev/raw/master/src/leap/bitmask/vpn/helpers/linux/bitmask-root
cp $SNAPCRAFT_PART_SRC/bitmask-root bin/
chmod +x bin/bitmask-root
echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
openvpn
:
plugin
:
nil
...
...
@@ -50,18 +45,16 @@ parts:
bitmask-vpn
:
after
:
[
desktop-gtk3
]
plugin
:
go
source-type
:
git
source
:
https://0xacab.org/leap/bitmask-vpn
# this does not seem to work with snapcraft package version in bionic
#go-packages:
# - 0xacab.org/leap/bitmask-vpn/cmd/bitmask-vpn
source
:
../../cmd/bitmask-vpn
go-importpath
:
0xacab.org/leap/bitmask-vpn/cmd/bitmask-vpn
go-packages
:
-
0xacab.org/leap/bitmask-vpn/cmd/bitmask-vpn
override-build
:
|
echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
#cat $SNAPCRAFT_PROJECT_DIR/snap/local/bitmask-vpn.desktop
cp $SNAPCRAFT_STAGE/../snap/local/${binaryName}.desktop $SNAPCRAFT_PRIME/${binaryName}.desktop
#cp ../../../gui/bitmask-vpn.desktop $SNAPCRAFT_PRIME/${binaryName}.desktop
cp $SNAPCRAFT_STAGE/../snap/local/riseup-vpn.desktop $SNAPCRAFT_PRIME/riseup-vpn.desktop
snapcraftctl build
echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
override-prime
:
|
rm -rf $SNAPCRAFT_PRIME/../snap/hooks/.mypy_cache
snapcraftctl prime
build-packages
:
-
pkg-config
-
patchelf
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment