diff options
author | Andrea Scarpino | 2017-07-12 01:05:39 +0200 |
---|---|---|
committer | Andrea Scarpino | 2017-07-12 01:06:18 +0200 |
commit | 720f3ec1a21393a6d7d5b75fa40551c8909250fe (patch) | |
tree | 18ae8c3603bbcade3bb9a0e0c2a3ca5d57f74194 /PKGBUILD | |
parent | 06bd59c5abba87b078901b30395183e2be35573b (diff) | |
download | aur-720f3ec1a21393a6d7d5b75fa40551c8909250fe.tar.gz |
Bump version
Install bash completion
Build with colors
Check tarball signature
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 44 |
1 files changed, 19 insertions, 25 deletions
@@ -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" } |