summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 43e01879d36643f9bbd8fa4dcff33e2c7e7c5975 (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
# 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
}