summaryrefslogtreecommitdiffstats
path: root/release/vagrant-static/build-pkg.sh
blob: 232abd546b6375a9268e3f2877d82215b88c69cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env bash

VERSION=$1

fpm --verbose \
    -s zip \
    -t rpm \
    -n "lnav" \
    -v "$VERSION" \
    -p /vagrant/ \
    -a native \
    --url https://lnav.org \
    -m 'timothyshanestack@gmail.com' \
    --description 'A log file viewer and analyzer for the terminal' \
    --license BSD-2-Clause \
    --category 'System/Monitoring' \
    /vagrant/lnav-linux.zip

fpm --verbose \
    -s zip \
    -t deb \
    -n "lnav" \
    -v "$VERSION" \
    -p /vagrant/ \
    -a native \
    --url https://lnav.org \
    -m 'timothyshanestack@gmail.com' \
    --description 'A log file viewer and analyzer for the terminal' \
    --license BSD-2-Clause \
    /vagrant/lnav-linux.zip