summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: caf71654c08f8f952c1e4870301e0874ab57b221 (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: Brett Cornwall <ainola@archlinux.org>
# Contributor: schalox <schalox at gmail dot com>
# Contributor: Simon Zimmermann <simon@insmo.com>
# Contributor: Jon Yamokoski <code@jonyamo.us>

pkgname=pass-git
pkgver=1.7.3.r23.g07b169e
pkgrel=1
epoch=1
pkgdesc='Stores, retrieves, generates, and synchronizes passwords securely'
arch=('any')
url='https://www.passwordstore.org/'
license=('GPL2')
depends=('bash' 'gnupg' 'tree')
optdepends=('git: for Git support'
            'dmenu: for passmenu'
            'qrencode: for QR code support')
makedepends=('git')
provides=('pass')
conflicts=('pass')
source=("git+https://git.zx2c4.com/password-store.git")
sha256sums=('SKIP')

pkgver() {
    cd password-store
    git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

check() {
    cd password-store
    make test
}

package() {
    cd password-store
    make DESTDIR="${pkgdir}" WITH_ALLCOMP=yes install

    cd contrib/dmenu
    install -Dm0755 passmenu "${pkgdir}/usr/bin/passmenu"
}