blob: 866e9ee172c3ab519403a56a6fbb60398880431d (
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
|
# Maintainer: Joël Porquet <joel@porquet.org>
pkgname=jpass-git
pkgver=r16.4d491bc
pkgrel=1
pkgdesc="JPass password manager"
url="https://joel.porquet.org/wiki/hacking/jpass/"
arch=('any')
license=('GPL3')
depends=('python' 'python-configobj')
makedepends=('git')
source=("${pkgname}::git+https://joel.porquet.org/cgit/cgit.cgi/jpass.git/")
md5sums=('SKIP')
pkgver() {
cd ${pkgname}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd ${pkgname}
python setup.py install --root="$pkgdir/" --optimize=1
install -Dm0644 data/jpass.zsh-completion "$pkgdir/usr/share/zsh/site-functions/_jpass"
}
|