summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f60a0417f4dff11b97bad4b86ebc172f3102e082 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Maintainer: Patrick Wozniak <email@patwoz.de>

pkgname=masterpassword-cli
pkgver=2.2
pkgrel=5
pkgdesc="CLI version of Master Password."

arch=('any')
url="http://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')

prepare() {
  sed -i '/^svn=/d' ./lib/scrypt/.source
}

build() {
  targets="mpw mpw-bench mpw-tests" ./build
  ./mpw-bench
  ./mpw-tests
}

package() {
  /usr/bin/install -Dm755 "mpw" "$pkgdir/usr/bin/mpw"
}