]> git.lizzy.rs Git - micro.git/blobdiff - snapcraft.yaml
Merge branch 'issue_1008' of https://github.com/sum01/micro into sum01-issue_1008
[micro.git] / snapcraft.yaml
index a76da740c46b66d27774c013bffbaf93b5af773a..dc5a72624246f5ecb864b3bb399c28e072197f91 100644 (file)
@@ -1,19 +1,25 @@
 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
   intuitive, while also taking advantage of the full capabilities of modern
   terminals.
-confinement: strict
+confinement: classic
 
 apps:
   micro:
     command: bin/micro
-    plugs: [home]
 
 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/