X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=snapcraft.yaml;h=dc5a72624246f5ecb864b3bb399c28e072197f91;hb=90304fb472fab5a9809feb0d9b23b0930619cf0d;hp=8746ba93364f095c5728b0abdb1aeca341f80920;hpb=0e9bc0ed87d406e5b1196a475e5a128b82e21c3b;p=micro.git diff --git a/snapcraft.yaml b/snapcraft.yaml index 8746ba93..dc5a7262 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,5 +1,5 @@ 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 @@ -14,5 +14,12 @@ apps: parts: micro: source: . - plugin: go - go-importpath: github.com/zyedidia/micro/cmd/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/