lastpass-cli: patched template file after review

This commit is contained in:
Michael Carlberg 2016-03-09 06:05:21 +01:00
parent b2b96de24d
commit 6cce5679f6

View file

@ -2,8 +2,11 @@
pkgname=lastpass-cli pkgname=lastpass-cli
version=0.9.0 version=0.9.0
revision=1 revision=1
makedepends="asciidoc libressl-devel libcurl-devel libxml2-devel" build_style=gnu-makefile
depends="libressl curl libxml2" make_build_target="all doc"
make_install_target="install install-doc"
hostmakedepends="pkg-config asciidoc"
makedepends="libressl-devel libcurl-devel libxml2-devel"
short_desc="Command line interface to LastPass.com" short_desc="Command line interface to LastPass.com"
maintainer="Michael Carlberg <c@rlberg.se>" maintainer="Michael Carlberg <c@rlberg.se>"
license="GPL-2" license="GPL-2"
@ -11,17 +14,16 @@ homepage="https://lastpass.com/"
distfiles="https://github.com/lastpass/lastpass-cli/archive/v${version}.tar.gz" distfiles="https://github.com/lastpass/lastpass-cli/archive/v${version}.tar.gz"
checksum=e7314f0dfeec86add7c19c053ee34bb7a176e462e71727d2b345481d2d136800 checksum=e7314f0dfeec86add7c19c053ee34bb7a176e462e71727d2b345481d2d136800
do_build() { pre_build() {
cd $wrksrc sed -i 's/^CFLAGS +=/override CFLAGS +=/g' Makefile
make all doc sed -i 's/^LDLIBS +=/override LDLIBS +=/g' Makefile
} }
do_install() { post_install() {
cd $wrksrc #make DESTDIR="$DESTDIR" install install-doc
make DESTDIR="$DESTDIR" install install-doc
vbin lpass #vbin lpass
vman lpass.1 #vman lpass.1
vinstall contrib/lpass_bash_completion 644 usr/share/bash-completion/completions lpass vinstall contrib/lpass_bash_completion 644 usr/share/bash-completion/completions lpass