summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d8c5e04a987889a3801867f1f9aaf802b0d91290 (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
# Maintainer: PRESFIL <echo cHJlc2ZpbEBwcm90b25tYWlsLmNvbQo= | base64 -d>

_gitname=pykeepass_cache
pkgbase="python-${_gitname}"
pkgname="python-${_gitname}-git"
pkgver=2.0.3
pkgrel=1
pkgdesc="PyKeePass database caching in a background process. "
arch=("any")
license=("GPL3")
url="https://github.com/libkeepass/pykeepass_cache"
depends=("python-pykeepass" "python-daemon" "python-rpyc")
makedepends=("git" "python-setuptools")
provides=(python-pykeepass_cache)
source=("git+https://github.com/libkeepass/pykeepass_cache.git")
sha512sums=('SKIP')

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

prepare() {
        cd "${srcdir}/${_gitname}/"
}

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