diff options
author | Charlie Wolf | 2017-02-18 08:51:11 -0800 |
---|---|---|
committer | Charlie Wolf | 2017-02-18 08:51:26 -0800 |
commit | 8df33dcf6f28e0e2450fc1df75302d185618f992 (patch) | |
tree | 7aa519a88a001822282bceecff55d03653c1b09b | |
download | aur-8df33dcf6f28e0e2450fc1df75302d185618f992.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 29 |
3 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..631e4a26f3ef --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = pass_python_keyring-git + pkgdesc = a python library for GPG-based challenge/response 2-factor authentication in web applications + pkgver = r12.cbaae67 + pkgrel = 1 + url = https://github.com/notandy/pass_python_keyring + arch = any + makedepends = python-setuptools + depends = python + depends = python-gnupg + source = git+https://github.com/notandy/pass_python_keyring.git + sha256sums = SKIP + +pkgname = pass_python_keyring-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..ca065308eda2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pass_python_keyring +*.pkg.* +src +pkg diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5942d8904ce8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Charlie Wolf <charlie@wolf.is> + +_pkgname=pass_python_keyring +pkgname=${_pkgname}-git +pkgver=r12.cbaae67 +pkgrel=1 +pkgdesc="A pass-powered backend for Python Keyring Lib" +url="https://github.com/notandy/pass_python_keyring" +arch=("any") +depends=('python' 'python-gnupg') +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 +} + |