summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Scarpino2017-09-05 19:45:40 +0200
committerAndrea Scarpino2017-09-05 19:45:40 +0200
commita19734193d887152a7d263833c6a781726cabc0c (patch)
treeb0b21e0af642aa785ff4bab2b1a583c6c9f8a87d
parent724a0cb334544d5567d6331e971631855bb8925a (diff)
downloadaur-a19734193d887152a7d263833c6a781726cabc0c.tar.gz
2.6-cli-1
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD22
2 files changed, 16 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8c1e7d36c31..6e4db03c7da 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,23 +1,22 @@
# Generated by mksrcinfo v8
-# Wed Aug 9 22:28:45 UTC 2017
+# Tue Sep 5 17:45:28 UTC 2017
pkgbase = masterpassword-cli
pkgdesc = CLI version of Master Password
- pkgver = 2.5
+ pkgver = 2.6
pkgrel = 1
url = https://ssl.masterpasswordapp.com/
arch = i686
arch = x86_64
license = GPL3
- makedepends = git
makedepends = libxml2
- makedepends = ncurses
- makedepends = libsodium
- depends = openssl
+ makedepends = openssl
+ depends = ncurses
+ depends = json-c
+ depends = libsodium
optdepends = xclip: copy password to clipboard
- options = !buildflags
- source = https://ssl.masterpasswordapp.com/mpw-2.5-cli-2-0-g3ed6b937.tar.gz
- source = https://ssl.masterpasswordapp.com/mpw-2.5-cli-2-0-g3ed6b937.tar.gz.sig
- sha256sums = 834d9fce03b5ad03ab9f5a37495a598e644430de97977cff9787c2bff1ae9742
+ source = https://ssl.masterpasswordapp.com/mpw-2.6-cli-1-0-g895df637.tar.gz
+ source = https://ssl.masterpasswordapp.com/mpw-2.6-cli-1-0-g895df637.tar.gz.sig
+ sha256sums = 1b7992dcab2538cfd403ccb8645d69ae419dfedbb03b38515508af3e814c8164
sha256sums = SKIP
pkgname = masterpassword-cli
diff --git a/PKGBUILD b/PKGBUILD
index ed82f0bf7d2..babc55948cb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,34 +2,26 @@
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=masterpassword-cli
-pkgver=2.5
-_hash=g3ed6b937
+pkgver=2.6
+_hash=g895df637
pkgrel=1
pkgdesc='CLI version of Master Password'
arch=('i686' 'x86_64')
url='https://ssl.masterpasswordapp.com/'
license=('GPL3')
-depends=('openssl')
-makedepends=('git' 'libxml2' 'ncurses' 'libsodium')
+depends=('ncurses' 'json-c' 'libsodium')
+makedepends=('libxml2' 'openssl')
optdepends=('xclip: copy password to clipboard')
-options=('!buildflags')
-source=("https://ssl.masterpasswordapp.com/mpw-${pkgver}-cli-2-0-${_hash}.tar.gz"{,.sig})
-sha256sums=('834d9fce03b5ad03ab9f5a37495a598e644430de97977cff9787c2bff1ae9742'
+source=("https://ssl.masterpasswordapp.com/mpw-${pkgver}-cli-1-0-${_hash}.tar.gz"{,.sig})
+sha256sums=('1b7992dcab2538cfd403ccb8645d69ae419dfedbb03b38515508af3e814c8164'
'SKIP')
validpgpkeys=('5C2D1D61853F20F2FCDDCCB70EF21226F43EA6BC') # Maarten Billemont
-prepare() {
- sed -i 's/openssl sha -sha256/openssl sha256/' build
-}
-
build() {
- targets="mpw mpw-bench mpw-tests" ./build
- ./mpw-bench
+ targets="mpw mpw-tests" ./build
./mpw-tests
}
package() {
/usr/bin/install -Dm755 mpw "$pkgdir/usr/bin/mpw"
-
- /usr/bin/install -Dm644 mpw.completion.bash "$pkgdir/usr/share/bash-completion/completions/mpw"
}