blob: 1b3ddee89f29de8c1dc15b087d52c15f7bb20fe4 (
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
|
# Maintainer: Charlie Wolf <charlie@wolf.is>
# Contributor: Charlie Wolf <charlie@wolf.is>
pkgname=python-gpgauth
pkgver=0.1
pkgrel=1
pkgdesc="a python library for GPG-based challenge/response 2-factor authentication in web applications "
url="https://github.com/charliewolf/python-gpgauth"
license=("Tequilaware")
arch=("any")
depends=('python' 'python-gnupg')
makedepends=('python-setuptools')
source=("https://github.com/charliewolf/python-gpgauth/archive/${pkgver}.tar.gz")
sha256sums=('966fd9ddce241288877028a51b8de14cb202585f16e86a0807036e89ac162c84')
build() {
cd $srcdir/${pkgname}-${pkgver}/
python setup.py build
}
package() {
cd $srcdir/${pkgname}-${pkgver}/
python setup.py install --root=${pkgdir}/ --optimize=1
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|