name: micro
-version: master
+version: git
summary: A modern and intuitive terminal-based text editor
description: |
Micro is a terminal-based text editor that aims to be easy to use and
parts:
micro:
source: .
- plugin: go
- go-importpath: github.com/zyedidia/micro
+ source-type: git
+ plugin: nil
+ build-packages: [make]
+ build-snaps: [go]
+ build-attributes: [no-patchelf]
+ override-build: |
+ make build
+ mkdir $SNAPCRAFT_PART_INSTALL/bin
+ mv ./micro $SNAPCRAFT_PART_INSTALL/bin/