hstr/snap/snapcraft.yaml

49 lines
1.3 KiB
YAML
Raw Normal View History

2018-08-13 05:47:00 +08:00
# snapcraft.yaml snap builder configuration
#
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# https://docs.snapcraft.io/build-snaps/your-first-snap
#
name: hstr
2018-08-12 23:29:27 +08:00
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:
2018-08-14 01:11:10 +08:00
hstr:
2018-08-12 23:29:27 +08:00
command: bin/hh
parts:
2018-08-14 01:11:10 +08:00
hstr:
2018-08-12 23:29:27 +08:00
source: .
plugin: autotools
override-build: |
2018-08-13 05:47:00 +08:00
cd ./build/tarball && ./tarball-automake.sh && cd ../..
2018-08-12 23:29:27 +08:00
snapcraftctl build
build-packages:
- build-essential
2018-08-12 23:29:27 +08:00
- libreadline-dev
- libncursesw5-dev
- pkg-config
prime:
2018-08-14 01:11:10 +08:00
- -bin/hh
2018-08-12 23:29:27 +08:00
- -share/man