lnav/release/vagrant-static/build-pkg.sh

31 lines
681 B
Bash
Raw Normal View History

#!/usr/bin/env bash
VERSION=$1
fpm --verbose \
-s zip \
-t rpm \
-n "lnav" \
-v $VERSION \
-p /vagrant/ \
-a native \
--url http://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 http://lnav.org \
-m 'timothyshanestack@gmail.com' \
--description 'A log file viewer and analyzer for the terminal' \
--license BSD-2-Clause \
/vagrant/lnav-linux.zip