mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
32 lines
887 B
Bash
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
|
|
}
|