summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a14b5a8cfa746bd5df266e9f21a647a9413ca861 (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
# Maintainer: Emil Lundberg <lundberg.emil@gmail.com>
#
# core/community package:
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Simon Zimmermann <simon@insmo.com>

pkgname='pass-patched-passmenu-notify-git'
pkgver=latest
pkgrel=2
pkgdesc='Stores, retrieves, generates, and synchronizes passwords securely'
arch=('any')
url='http://zx2c4.com/projects/password-store/'
license=('GPL2')
depends=('xclip' 'bash' 'gnupg' 'pwgen' 'tree')
optdepends=('git: for Git support'
            'dmenu: for passmenu'
            'libnotify: for passmenu desktop notifications')
replaces=('passmenu')
provides=('pass' 'passmenu')
conflicts=('passmenu')
source=("git+ssh://git@github.com/emlun/password-store.git#branch=passmenu-notify")
md5sums=('SKIP')

pkgver() {
  cd "${srcdir}/password-store/"
  git describe | sed 's/-/./g'
}

package() {
  cd "${srcdir}/password-store/"
  ls -la
  make DESTDIR="${pkgdir}" FORCE_ALL=1 install

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