summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Scarpino2017-10-11 02:08:06 +0200
committerAndrea Scarpino2017-10-11 02:08:10 +0200
commit0d3ee8bf197003f0081b11f89abc4fb339ebb9dd (patch)
treed4648d02a248ead9f58c8b84388af031f11da5d7
parenta19734193d887152a7d263833c6a781726cabc0c (diff)
downloadaur-0d3ee8bf197003f0081b11f89abc4fb339ebb9dd.tar.gz
Update to 2.6-cli-4
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD19
2 files changed, 18 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6e4db03c7da..8664996de03 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,22 @@
# Generated by mksrcinfo v8
-# Tue Sep 5 17:45:28 UTC 2017
+# Wed Oct 11 00:08:08 UTC 2017
pkgbase = masterpassword-cli
pkgdesc = CLI version of Master Password
pkgver = 2.6
- pkgrel = 1
+ pkgrel = 2
url = https://ssl.masterpasswordapp.com/
arch = i686
arch = x86_64
license = GPL3
- makedepends = libxml2
makedepends = openssl
+ makedepends = cmake
depends = ncurses
depends = json-c
depends = libsodium
optdepends = xclip: copy password to clipboard
- 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
+ source = https://ssl.masterpasswordapp.com/mpw-2.6-cli-4-0-gf8043ae1.tar.gz
+ source = https://ssl.masterpasswordapp.com/mpw-2.6-cli-4-0-gf8043ae1.tar.gz.sig
+ sha256sums = 90480c0994cccdaa6637cc311e2092e5b6f2fdc751b58d218a6bd61e4603b2a0
sha256sums = SKIP
pkgname = masterpassword-cli
diff --git a/PKGBUILD b/PKGBUILD
index babc55948cb..c18fba29fcb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,23 +3,28 @@
pkgname=masterpassword-cli
pkgver=2.6
-_hash=g895df637
-pkgrel=1
+_relver=4
+_hash=gf8043ae1
+pkgrel=2
pkgdesc='CLI version of Master Password'
arch=('i686' 'x86_64')
url='https://ssl.masterpasswordapp.com/'
license=('GPL3')
depends=('ncurses' 'json-c' 'libsodium')
-makedepends=('libxml2' 'openssl')
+makedepends=('openssl' 'cmake')
optdepends=('xclip: copy password to clipboard')
-source=("https://ssl.masterpasswordapp.com/mpw-${pkgver}-cli-1-0-${_hash}.tar.gz"{,.sig})
-sha256sums=('1b7992dcab2538cfd403ccb8645d69ae419dfedbb03b38515508af3e814c8164'
+source=("https://ssl.masterpasswordapp.com/mpw-${pkgver}-cli-${_relver}-0-${_hash}.tar.gz"{,.sig})
+sha256sums=('90480c0994cccdaa6637cc311e2092e5b6f2fdc751b58d218a6bd61e4603b2a0'
'SKIP')
validpgpkeys=('5C2D1D61853F20F2FCDDCCB70EF21226F43EA6BC') # Maarten Billemont
build() {
- targets="mpw mpw-tests" ./build
- ./mpw-tests
+ export LDFLAGS="$LDFLAGS -ltinfo"
+ ./build
+}
+
+check() {
+ ./mpw-cli-tests
}
package() {