blob: 2d0381bd5ccef93a36a061d57873f300ac513bf0 (
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
|
# Maintainer: Charlie Wolf <charlie@wolf.is>
_pkgname=pass_python_keyring
pkgname=${_pkgname}-git
pkgver=r12.cbaae67
pkgrel=2
pkgdesc="A pass-powered backend for Python Keyring Lib"
url="https://github.com/notandy/pass_python_keyring"
arch=("any")
depends=('python' 'python-keyring')
makedepends=('python-setuptools')
source=("git+https://github.com/notandy/${_pkgname}.git")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $srcdir/${_pkgname}/
python setup.py build
}
package() {
cd $srcdir/${_pkgname}/
python setup.py install --root=${pkgdir}/ --optimize=1
}
|