mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-26 15:42:14 +08:00
35 lines
1.0 KiB
Bash
35 lines
1.0 KiB
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
|
|
|
|
pkgname=django_simple_captcha
|
|
pkgver=0.3.8
|
|
pkgrel=1
|
|
pkgdesc="A simple customizable application to add captcha images to Django forms"
|
|
arch=('x86_64')
|
|
url="http://pypi.python.org/pypi/django-simple-captcha"
|
|
license=('BSD')
|
|
depends=('django' 'python2' 'python2-imaging' 'python-distribute')
|
|
provides=('django-simple-captcha')
|
|
conflicts=('django-simple-captcha')
|
|
replaces=('django-simple-captcha')
|
|
source=(http://pypi.python.org/packages/source/d/django-simple-captcha/django-simple-captcha-${pkgver}.tar.gz)
|
|
md5sums=('35eaba33237e98c062a7fef420e53de7')
|
|
|
|
build() {
|
|
cd "${srcdir}/django-simple-captcha-${pkgver}"
|
|
|
|
# Build.
|
|
python2 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/django-simple-captcha-${pkgver}"
|
|
python2 setup.py install --prefix=/usr --root=$pkgdir
|
|
|
|
# License.
|
|
install -d $pkgdir/usr/share/licenses/$pkgname
|
|
cp LICENSE $pkgdir/usr/share/licenses/$pkgname/license.txt
|
|
}
|