From 3c2718daa60ecb155d4f3f0b03c2b60cfd987354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Szyma=C5=84ski?= Date: Sun, 12 Aug 2018 17:29:27 +0200 Subject: [PATCH] dist: snap package (#225) --- snap/snapcraft.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 snap/snapcraft.yaml diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 0000000..761ba98 --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,28 @@ +name: hh +version: git +summary: Suggest box like shell history completion +description: | + A command line utility that brings improved shell command completion + from the history. It aims to make completion easier and faster than Ctrl-r. + +grade: stable +confinement: classic + +apps: + hh: + command: bin/hh + +parts: + hh: + source: . + plugin: autotools + override-build: | + cd ./dist && ./1-dist.sh && cd .. + snapcraftctl build + build-packages: + - libreadline-dev + - libncursesw5-dev + - pkg-config + prime: + - -bin/hstr + - -share/man