[arch-commits] Commit in lastpass-cli/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 21:19:21 UTC 2020


    Date: Tuesday, July 7, 2020 @ 21:19:21
  Author: felixonmars
Revision: 660333

archrelease: copy trunk to community-staging-x86_64

Added:
  lastpass-cli/repos/community-staging-x86_64/
  lastpass-cli/repos/community-staging-x86_64/PKGBUILD
    (from rev 660331, lastpass-cli/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: lastpass-cli/repos/community-staging-x86_64/PKGBUILD (from rev 660331, lastpass-cli/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 21:19:21 UTC (rev 660333)
@@ -0,0 +1,33 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Oliver Lantwin <olantwin+aur at gmail.com>
+# Contributor: Gabriel Peixoto <gabrielrcp at gmail.com>
+
+pkgname=lastpass-cli
+pkgver=1.3.3
+pkgrel=2
+pkgdesc="LastPass command line interface tool"
+arch=('x86_64')
+url="https://lastpass.com/"
+license=('GPL2')
+depends=('openssl' 'curl' 'libxml2')
+makedepends=('asciidoc' 'cmake' 'bash-completion')
+optdepends=('xclip: clipboard support'
+            'pinentry: securely read passwords')
+source=("https://github.com/lastpass/lastpass-cli/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73')
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+  cmake . -DCMAKE_INSTALL_PREFIX="/usr"
+  make
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  make DESTDIR="$pkgdir" install install-doc
+  install -Dm0644 contrib/lpass_zsh_completion "$pkgdir"/usr/share/zsh/site-functions/_lpass
+  install -Dm0644 contrib/completions-lpass.fish "$pkgdir"/usr/share/fish/vendor_completions.d/lpass.fish
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list