summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChris Warrick2015-07-05 21:05:14 +0200
committerChris Warrick2015-07-05 21:05:14 +0200
commit10262f89cf61d5ea42eb58ad6f312508fc302961 (patch)
tree6c55e11146e085e2f223b72ddf4f1afd07b115fa /PKGBUILD
downloadaur-10262f89cf61d5ea42eb58ad6f312508fc302961.tar.gz
upass v0.1.0
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..cf3105fc1aa
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Chris Warrick <aur@chriswarrick.com>
+pkgname=upass
+_pyname=upass
+pkgver=0.1.0
+pkgrel=1
+pkgdesc='Console UI for pass'
+arch=('any')
+url='https://github.com/Kwpolska/upass'
+license=('BSD')
+options=(!emptydirs)
+source=("https://pypi.python.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
+md5sums=('ce41bbe2961dd7d655870149ead54871')
+depends=('python' 'python-setuptools' 'python-urwid' 'python-pyperclip')
+
+prepare() {
+ cd "${srcdir}/${_pyname}-${pkgver}"
+}
+
+package() {
+ cd "${srcdir}/${_pyname}-${pkgver}"
+ python3 setup.py install --root="${pkgdir}/" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: