summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Scarpino2017-07-12 01:05:39 +0200
committerAndrea Scarpino2017-07-12 01:06:18 +0200
commit720f3ec1a21393a6d7d5b75fa40551c8909250fe (patch)
tree18ae8c3603bbcade3bb9a0e0c2a3ca5d57f74194
parent06bd59c5abba87b078901b30395183e2be35573b (diff)
downloadaur-720f3ec1a21393a6d7d5b75fa40551c8909250fe.tar.gz
Bump version
Install bash completion Build with colors Check tarball signature
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD44
2 files changed, 32 insertions, 35 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4e3efb15b34..d5a112e9211 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,23 @@
# Generated by mksrcinfo v8
-# Sun Dec 18 16:07:39 UTC 2016
+# Tue Jul 11 23:06:13 UTC 2017
pkgbase = masterpassword-cli
- pkgdesc = CLI version of Master Password.
- pkgver = 2.2
- pkgrel = 5
- url = http://masterpasswordapp.com/
- arch = any
+ pkgdesc = CLI version of Master Password
+ pkgver = 2.5
+ pkgrel = 1
+ url = https://ssl.masterpasswordapp.com/
+ arch = i686
+ arch = x86_64
license = GPL3
- makedepends = openssl
- makedepends = gcc
makedepends = git
makedepends = libxml2
+ makedepends = ncurses
+ depends = openssl
optdepends = xclip: copy password to clipboard
- conflicts = masterpassword-cli-git
+ options = !buildflags
source = https://ssl.masterpasswordapp.com/masterpassword-cli.tar.gz
- sha256sums = 6ea76592eb8214329072d04f651af99d73de188a59ef76975d190569c7fa2b90
+ source = https://ssl.masterpasswordapp.com/masterpassword-cli.tar.gz.sig
+ sha256sums = 834d9fce03b5ad03ab9f5a37495a598e644430de97977cff9787c2bff1ae9742
+ sha256sums = SKIP
pkgname = masterpassword-cli
diff --git a/PKGBUILD b/PKGBUILD
index f60a0417f4d..2428550a33a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,24 @@
-# Maintainer: Patrick Wozniak <email@patwoz.de>
+# Contributor: Patrick Wozniak <email@patwoz.de>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=masterpassword-cli
-pkgver=2.2
-pkgrel=5
-pkgdesc="CLI version of Master Password."
-
-arch=('any')
-url="http://masterpasswordapp.com/"
+pkgver=2.5
+pkgrel=1
+pkgdesc='CLI version of Master Password'
+arch=('i686' 'x86_64')
+url='https://ssl.masterpasswordapp.com/'
license=('GPL3')
-
-optdepends=(
- 'xclip: copy password to clipboard'
-)
-makedepends=(
- 'openssl'
- 'gcc'
- 'git'
- 'libxml2'
-)
-conflicts=(
- 'masterpassword-cli-git'
-)
-
-source=("https://ssl.masterpasswordapp.com/$pkgname.tar.gz")
-sha256sums=('6ea76592eb8214329072d04f651af99d73de188a59ef76975d190569c7fa2b90')
+depends=('openssl')
+makedepends=('git' 'libxml2' 'ncurses')
+optdepends=('xclip: copy password to clipboard')
+options=('!buildflags')
+source=("https://ssl.masterpasswordapp.com/$pkgname.tar.gz"{,.sig})
+sha256sums=('834d9fce03b5ad03ab9f5a37495a598e644430de97977cff9787c2bff1ae9742'
+ 'SKIP')
+validpgpkeys=('5C2D1D61853F20F2FCDDCCB70EF21226F43EA6BC') # Maarten Billemont
prepare() {
- sed -i '/^svn=/d' ./lib/scrypt/.source
+ sed -i 's/openssl sha -sha256/openssl sha256/' build
}
build() {
@@ -36,5 +28,7 @@ build() {
}
package() {
- /usr/bin/install -Dm755 "mpw" "$pkgdir/usr/bin/mpw"
+ /usr/bin/install -Dm755 mpw "$pkgdir/usr/bin/mpw"
+
+ /usr/bin/install -Dm644 mpw.completion.bash "$pkgdir/usr/share/bash-completion/completions/mpw"
}