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
#
2018-08-22 14:53:23 +08:00
name: hstr
2018-08-12 23:29:27 +08:00
version: git
2018-08-27 23:39:31 +08:00
grade: stable
2018-08-12 23:29:27 +08:00
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.
2018-08-27 23:39:31 +08:00
confinement: strict
2018-08-12 23:29:27 +08:00
apps:
2018-08-22 14:53:23 +08:00
hstr:
command: bin/hstr
2018-08-27 23:39:31 +08:00
plugs:
- home
2018-08-12 23:29:27 +08:00
parts:
2018-08-22 14:53:23 +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:16:03 +08:00
- -bin/hstr
- -share/man