summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2adedcc75fc4fe02f1056653fb33e6d832bc7a36 (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
# Contributor: Lex Black <autumn-wind at web dot de>
# Contributor: Yuri D. Lenskiy <yuri.lenskiy@gmail.com>

_pkgname=rpass
pkgname=rpass-git
pkgver=r7.3001b45
pkgrel=2
pkgdesc="GPG-based, secure, pluggable, encrypted, and simple commandline password manager."
arch=('any')
url="https://github.com/rscare/rpass"
license=('GPL')
depends=('python' 'gnupg' 'procps' 'gpgme')
optdepends=('xclip: allows automatic copying of passwords to avoid all writing to stdout- HIGHLY RECOMMENDED'
            'gnupg2: includes gpg-agent - HIGHLY RECOMMENDED'
            'dmenu: for gui utilities')
makedepends=('git')
source=("git://github.com/rscare/rpass.git")
md5sums=('SKIP')


pkgver() {
  cd "$_pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd "$srcdir/$_pkgname/python_interface"
  python setup.py install --prefix="/usr" --root="$pkgdir/" --optimize=1
}