mirror of
https://github.com/dvorka/hstr.git
synced 2024-12-29 11:11:32 +08:00
dist: snap package (#225)
This commit is contained in:
parent
3f92402ee6
commit
3c2718daa6
1 changed files with 28 additions and 0 deletions
28
snap/snapcraft.yaml
Normal file
28
snap/snapcraft.yaml
Normal file
|
@ -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
|
Loading…
Reference in a new issue