blob: e79ad66e4dd155a5e0fbf820be30ae0c96e54abb (
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
|
# Maintainer: Richard Neumann aka. schard <mail at richard dash neumann period de>
_pkgbase='recaptcha'
pkgname="python-${_pkgbase}"
pkgver=1.0.1
pkgrel=1
pkgdesc='ReCAPTCHA library for python'
arch=('any')
url="https://github.com/homeinfogmbh/${_pkgbase}"
license=('GPLv3')
depends=('python' 'python-setuptools')
optdepends=('python-flask: for flask integration')
makedepends=('git' 'python-setuptools-scm')
source=("${_pkgbase}::git+${url}.git#tag=${pkgver}")
md5sums=('SKIP')
build() {
cd "${srcdir}/${_pkgbase}"
python setup.py build
}
package() {
cd "${srcdir}/${_pkgbase}"
python setup.py install --root "${pkgdir}" --optimize=1 --skip-build
}
|