aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lastpass-cli
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-12-15 10:48:57 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-12-15 10:48:57 +0000
commit4988f3f1145d3f1b82fc4ac734d663f748305333 (patch)
tree7a34a3be6adb0550eefe000ce84b4ff2b65f627b /testing/lastpass-cli
parentc54c79a3c98c53a13446f74b9eb34097402dcd55 (diff)
downloadaports-4988f3f1145d3f1b82fc4ac734d663f748305333.tar.bz2
aports-4988f3f1145d3f1b82fc4ac734d663f748305333.tar.xz
testing/lastpass-cli: new aport. Fixes #6527
Diffstat (limited to 'testing/lastpass-cli')
-rw-r--r--testing/lastpass-cli/APKBUILD34
1 files changed, 34 insertions, 0 deletions
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 <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+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"