Skip to content
Permalink
Browse files
Refine snap build process
  • Loading branch information
wohali committed Jul 27, 2017
1 parent 9aec799 commit 84c30b0c0799fa35f1e5e9b90d2868c6617954c6
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
@@ -13,3 +13,8 @@ repo/dists
repo/pool
pkgs/
couchdb/
couchdb_2.0_amd64.snap
parts/
prime/
snap/.snapcraft/
stage/
@@ -123,3 +123,6 @@ copy-pkgs:
-cp ../rpmbuild/RPMS/x86_64/*.rpm pkgs/$(PLATFORM)
-cp ../couchdb/*deb pkgs/$(PLATFORM)
-chmod -R a+rwx pkgs/$(PLATFORM)

clean:
rm -rf couchdb_2.0_amd64.snap parts prime snap/.snapcraft stage
@@ -33,6 +33,18 @@ or

Packages will be placed in the `pkgs/` subdirectory.

# Building snaps

## Prerequisites

1. Ubuntu 16.04
1. `sudo apt install snapd snapcraft`

## How to do it

1. Edit `snap/snapcraft.yaml` to point to the correct tag (e.g. `2.1.0`)
1. `snapcraft`

# Feedback, Issues, Contributing

General feedback is welcome at our [user][1] or [developer][2] mailing lists.
@@ -16,8 +16,10 @@ apps:
parts:
couchdb:
plugin: make
#source: http://www-us.apache.org/dist/couchdb/source/2.0.0/apache-couchdb-2.0.0.tar.gz
source: https://github.com/apache/couchdb.git
source-type: git
source-tag: 2.1.0
prepare: |
./configure --disable-docs
build: |

0 comments on commit 84c30b0

Please sign in to comment.