summaryrefslogtreecommitdiffstats
path: root/django-registration/PKGBUILD
blob: 57ae43f112aed9575f94d2518bbce99927da3f1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Contributor: Chaiwat Suttipongsakul <cwt at bashell dot com>
pkgname=django-registration
pkgver=0.7
pkgrel=3
pkgdesc="A simple, generic user-registration application for Django"
arch=(any)
url="http://bitbucket.org/ubernostrum/django-registration/wiki/Home"
license=('BSD')
depends=('python' 'django')
source=(http://bitbucket.org/ubernostrum/$pkgname/get/v$pkgver.bz2)
md5sums=('3e3ec7b40b59671b19e1857fd55cf3d2')

build() { 
    cd "$srcdir/$pkgname"
    python setup.py build || return 1
    python setup.py install --root=$pkgdir --optimize=1 || return 1
    install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
}