desktop/django-email-as-username/PKGBUILD

32 lines
878 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.5
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=('702ef7992114d40470cf8c6b31339e50')
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
}