desktop/django-email-as-username/PKGBUILD
Adrian Chaves Fernandez (Gallaecio) 4fdcd488e3 Django Emails as Username 1.6.2
2012-09-28 18:54:29 +00:00

32 lines
887 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=django-email-as-username
_dev=dabapps
pkgver=1.6.2
pkgrel=1
pkgdesc="User authentication with email addresses instead of usernames"
url="https://github.com/dabapps/django-email-as-username"
arch=('i686' 'x86_64')
license=('BSD')
depends=('django' 'python2')
makedepends=('markdown')
source=($pkgname-$pkgver::https://nodeload.github.com/$_dev/$pkgname/tarball/$pkgver)
md5sums=('7783831f71c8b4396b0c4ef4f697e6d8')
build() {
cd $srcdir/$_dev-$pkgname-*
python2 setup.py build
}
package() {
cd $srcdir/$_dev-$pkgname-*
python2 setup.py install --prefix=/usr --root=$pkgdir
# License.
install -d $pkgdir/usr/share/licenses/$pkgname
markdown README.md > $pkgdir/usr/share/licenses/$pkgname/information.html
}