diff options
author | Cedric Girard | 2017-01-20 10:37:22 +0100 |
---|---|---|
committer | Cedric Girard | 2017-01-20 10:37:22 +0100 |
commit | e655d4c9e717263e296b21668c17b336933e7a8e (patch) | |
tree | f233d4f2ff918971df2fe03db150c335dd2d9f13 | |
download | aur-e655d4c9e717263e296b21668c17b336933e7a8e.tar.gz |
first package version
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0d52584e8ebb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python2-zxcvbn + pkgdesc = Password strength estimator + pkgver = 1.0 + pkgrel = 1 + url = http://pypi.python.org/pypi/zxcvbn + arch = any + license = Apache + makedepends = python2-setuptools + depends = python2 + source = https://pypi.io/packages/source/z/zxcvbn/zxcvbn-1.0.tar.gz + md5sums = 4b875b9f954a7aef2269eb8c1177b591 + +pkgname = python2-zxcvbn + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3a698204863a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Cedric Girard <girard.cedric@gmail.com> +_pythonmod=zxcvbn +pkgname=python2-zxcvbn +pkgver=1.0 +pkgrel=1 +pkgdesc="Password strength estimator" +arch=('any') +url="http://pypi.python.org/pypi/${_pythonmod}" +license=('Apache') +depends=( + 'python2' + ) +makedepends=('python2-setuptools') +source=("https://pypi.io/packages/source/${_pythonmod:0:1}/${_pythonmod}/${_pythonmod}-$pkgver.tar.gz") +md5sums=('4b875b9f954a7aef2269eb8c1177b591') + +build() { + cd ${srcdir}/${_pythonmod}-$pkgver + python2 setup.py build +} + +package() { + cd ${srcdir}/${_pythonmod}-$pkgver + python2 setup.py install --root=${pkgdir} +} |