updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / django-simple-captcha / PKGBUILD
blobd25b043fa1675d7541cd7e59bbc4452df8747a47
1 # Contributor: Défossez Alexandre <alexandre.defossez at google mailing service>
3 pkgname=django-simple-captcha
4 pkgver=0.3.0
5 pkgrel=1
6 pkgdesc="Django Simple Captcha is an extremely simple, yet highly customizable Django application to add captcha images to any Django form."
7 arch=(any)
8 url="http://code.google.com/p/django-simple-captcha/"
9 license=("MIT")
10 depends=('python2' 'django' 'python-imaging')
11 makedepends=()
12 optdepends=("flite: required for text-to-speech (audio) output")
13 provides=()
14 conflicts=()
15 replaces=()
16 backup=()
17 options=(!emptydirs)
18 install=
19 source=("http://django-simple-captcha.googlecode.com/files/$pkgname-$pkgver.tar.gz")
20 #source=("$pkgname-$pkgver.tar.gz")
21 sha1sums=('e77b88b0445fbf1d752354c49d6ba5ae77a63cd4')
22 noextract=()
25 build() {
26   cd $srcdir/$pkgname-$pkgver
27   python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1
29   # Remember to install licenses if the license is not a common license!
30   install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE