initial import
This commit is contained in:
18
python-captcha/PKGBUILD
Normal file
18
python-captcha/PKGBUILD
Normal file
@@ -0,0 +1,18 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=python-captcha
|
||||
pkgver=0.3
|
||||
pkgrel=1
|
||||
pkgdesc="Python library that generates audio and image CAPTCHAs."
|
||||
arch=('any')
|
||||
url='https://github.com/lepture/captcha'
|
||||
license=('Modified-BSD')
|
||||
makedepends=('python-setuptools')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/lepture/captcha/archive/v$pkgver.tar.gz")
|
||||
sha512sums=('650b8e885ac67804474745e7b24e89b717ce124664632b44d3c23b8e56f9e17087077e4ab5874029183896bb63401685b06b6187c0cdd5f8936c44e7883db540')
|
||||
|
||||
package() {
|
||||
cd "$srcdir/captcha-$pkgver"
|
||||
python setup.py install --root="$pkgdir" --optimize=1
|
||||
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user