From 4988f3f1145d3f1b82fc4ac734d663f748305333 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Thu, 15 Dec 2016 10:48:57 +0000 Subject: testing/lastpass-cli: new aport. Fixes #6527 --- testing/lastpass-cli/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 testing/lastpass-cli/APKBUILD diff --git a/testing/lastpass-cli/APKBUILD b/testing/lastpass-cli/APKBUILD new file mode 100644 index 0000000000..7ca1a794c4 --- /dev/null +++ b/testing/lastpass-cli/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=lastpass-cli +pkgver=1.0.0 +pkgrel=0 +pkgdesc="LastPass command line interface tool " +url="https://lastpass.com/" +arch="all" +license="GPL2" +makedepends="libressl-dev curl-dev libxml2-dev asciidoc" +subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch" +source="$pkgname-$pkgver.tar.gz::https://github.com/${pkgname/-*/}/$pkgname/archive/v${pkgver}.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + make all doc +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir/" install install-doc +} + +bashcomp() { + depends="bash" + pkgdesc="Bash completions for $pkgname" + mkdir -p "$subpkgdir"/usr/share/bash-completion/completions + mv "$pkgdir"/usr/share/bash-completion/completions/lpass "$subpkgdir"/usr/share/bash-completion/completions/lpass +} + +md5sums="19d5bd8959f5e6a133907ca2758b72d1 lastpass-cli-1.0.0.tar.gz" +sha256sums="42096c0bd3972b0e9cc9cef32fbf141e47b04b9e2387fb3abe8b105e135fb41e lastpass-cli-1.0.0.tar.gz" +sha512sums="4709b3e4d6064c8c5cb593344e6417355d7df570240dce8eb77a19f3377ea38585280a9602cf8ab926c55c6afd84b297f261b0c8a40d355734d5cc542d46f610 lastpass-cli-1.0.0.tar.gz" -- cgit v1.2.3