New package: lastpass-cli-0.9.0

This commit is contained in:
Michael Carlberg 2016-03-09 02:18:03 +01:00
parent 039845d1de
commit b2b96de24d
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# Template file for 'lastpass-cli'
pkgname=lastpass-cli
version=0.9.0
revision=1
makedepends="asciidoc libressl-devel libcurl-devel libxml2-devel"
depends="libressl curl libxml2"
short_desc="Command line interface to LastPass.com"
maintainer="Michael Carlberg <c@rlberg.se>"
license="GPL-2"
homepage="https://lastpass.com/"
distfiles="https://github.com/lastpass/lastpass-cli/archive/v${version}.tar.gz"
checksum=e7314f0dfeec86add7c19c053ee34bb7a176e462e71727d2b345481d2d136800
do_build() {
cd $wrksrc
make all doc
}
do_install() {
cd $wrksrc
make DESTDIR="$DESTDIR" install install-doc
vbin lpass
vman lpass.1
vinstall contrib/lpass_bash_completion 644 usr/share/bash-completion/completions lpass
vmkdir usr/share/examples/lpass
vcopy contrib/examples/* usr/share/examples/lpass
}