mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
Merge pull request #3794 from jaagr/lastpass-cli
New package: lastpass-cli-0.9.0
This commit is contained in:
commit
7b1ac18ae2
1 changed files with 32 additions and 0 deletions
32
srcpkgs/lastpass-cli/template
Normal file
32
srcpkgs/lastpass-cli/template
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Template file for 'lastpass-cli'
|
||||||
|
pkgname=lastpass-cli
|
||||||
|
version=0.9.0
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-makefile
|
||||||
|
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"
|
||||||
|
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
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
sed -i 's/^CFLAGS +=/override CFLAGS +=/g' Makefile
|
||||||
|
sed -i 's/^LDLIBS +=/override LDLIBS +=/g' Makefile
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
#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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue