desktop/django-email-as-username/PKGBUILD
2014-04-02 14:31:22 +00:00

30 lines
820 B
Bash

# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=django-email-as-username
_dev=dabapps
pkgver=1.6.7
pkgrel=1
pkgdesc="User authentication with email addresses instead of usernames"
url="https://github.com/dabapps/django-email-as-username"
arch=('x86_64')
license=('BSD')
depends=('django' 'python2')
makedepends=('markdown')
source=("https://github.com/$_dev/django-email-as-username/archive/$pkgver.tar.gz")
md5sums=('cf5b0dc19ed77b19c923c8409dc06565')
build() {
cd $srcdir/$pkgname-$pkgver
python2 setup.py build
}
package() {
cd $srcdir/$pkgname-$pkgver
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
}