diff options
author | Jonas Heinrich | 2018-03-11 19:29:34 +0100 |
---|---|---|
committer | Jonas Heinrich | 2018-03-11 19:29:34 +0100 |
commit | af955e5f384165cd1a6ef43107dd72f25b752b38 (patch) | |
tree | 40ce606a615591f2cb222803afb1c01921701448 | |
download | aur-af955e5f384165cd1a6ef43107dd72f25b752b38.tar.gz |
first commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7e6ad98540e8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +# Generated by mksrcinfo v8 +# Sun Mar 11 18:29:29 UTC 2018 +pkgbase = python2-tokenlib + pkgdesc = Generic library for managing signed authentication tokens + pkgver = 2.0.0 + pkgrel = 1 + url = https://github.com/mozilla-services/tokenlib + arch = any + license = MPL2 + depends = python2 + source = https://pypi.python.org/packages/66/17/147b29c8fe58e84df567b5120d72a15a760369b6d80349c1d6317e9ed30c/tokenlib-2.0.0.tar.gz + sha512sums = ab17994f85676ff304b30d6f9480ebe681d82e61c11b331cb6b662100e4fb28b160ebc1dcf2f73620829a552ccdb3d6feb2850deabef9c63b6affc1210ae2078 + +pkgname = python2-tokenlib + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e8f14ec1c795 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $ +# Contributor: Sergey Mastykov <smastykov[at]gmail[dot]com> + +pkgname=python2-tokenlib +_pkgname=tokenlib +pkgver=2.0.0 +pkgrel=1 +pkgdesc="Generic library for managing signed authentication tokens" +arch=('any') +url="https://github.com/mozilla-services/tokenlib" +license=('MPL2') +depends=('python2') +source=("https://pypi.python.org/packages/66/17/147b29c8fe58e84df567b5120d72a15a760369b6d80349c1d6317e9ed30c/tokenlib-${pkgver}.tar.gz") +sha512sums=("ab17994f85676ff304b30d6f9480ebe681d82e61c11b331cb6b662100e4fb28b160ebc1dcf2f73620829a552ccdb3d6feb2850deabef9c63b6affc1210ae2078") + +build(){ + cd ${srcdir}/${_pkgname}-${pkgver} + python2 setup.py build +} + +package() { + cd ${srcdir}/${_pkgname}-${pkgver} + python2 setup.py install --prefix=/usr --root=${pkgdir} --optimize=1 +} + |