lnav/snapcraft.yaml

57 lines
1.3 KiB
YAML
Raw Normal View History

2018-06-26 20:37:30 +00:00
name: lnav
2020-09-23 21:47:44 +00:00
adopt-info: lnav
2020-09-23 21:15:48 +00:00
summary: Log File Navigator
2018-06-26 20:37:30 +00:00
description: |
2020-09-23 21:15:48 +00:00
The Log File Navigator, **lnav** for short, is an advanced log file viewer
for the small-scale.
2018-06-26 20:37:30 +00:00
2020-09-23 21:15:48 +00:00
base: core18
2018-06-26 20:37:30 +00:00
confinement: strict
apps:
2018-07-11 05:39:05 +00:00
lnav:
2018-06-26 20:37:30 +00:00
command: lnav
plugs:
- home # optional, allows to read log files from home directory
- log-observe # required, provide access to system logs in /var/log
- network # required, lnav uses sendto() with UNIX domain socket
parts:
2020-09-23 21:47:44 +00:00
selective-checkout:
source: https://github.com/Lin-Buo-Ren/selective-checkout.git
source-tag: v1.0.0
plugin: dump
build-packages:
# Uncomment the VCS your main part is using
- git
#- mercurial
#- subversion
stage:
- scriptlets/selective-checkout
prime:
- -*
2018-06-26 20:37:30 +00:00
lnav:
2020-09-23 21:47:44 +00:00
after:
- selective-checkout
2018-06-26 20:37:30 +00:00
plugin: autotools
source: https://github.com/tstack/lnav.git
2020-09-23 21:47:44 +00:00
source-depth: 500
override-pull: |
snapcraftctl pull
2020-09-24 02:29:02 +00:00
"$SNAPCRAFT_STAGE"/scriptlets/selective-checkout --debug --force-snapshot
2018-06-26 20:37:30 +00:00
build-packages:
- build-essential
- libpcre3-dev
- libsqlite3-dev
- libncursesw5-dev
- libreadline-dev
- zlib1g-dev
- libbz2-dev
- libgpm-dev
2020-09-23 22:05:43 +00:00
stage-packages:
2018-06-26 20:37:30 +00:00
- zlib1g
- libncursesw5
- libpcre3
- libgpm2