mirror of
https://github.com/dvorka/hstr.git
synced 2024-12-31 04:02:43 +08:00
48 lines
No EOL
1.3 KiB
YAML
48 lines
No EOL
1.3 KiB
YAML
# 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
|
|
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:
|
|
hstr:
|
|
command: bin/hstr
|
|
|
|
parts:
|
|
hstr:
|
|
source: .
|
|
plugin: autotools
|
|
override-build: |
|
|
cd ./build/tarball && ./tarball-automake.sh && cd ../..
|
|
snapcraftctl build
|
|
build-packages:
|
|
- build-essential
|
|
- libreadline-dev
|
|
- libncursesw5-dev
|
|
- pkg-config
|
|
prime:
|
|
- -bin/hstr
|
|
- -share/man |