desktop/django-oauth2-provider/PKGBUILD

26 lines
755 B
Bash
Raw Normal View History

2013-05-17 13:03:35 +08:00
pkgname=django-oauth2-provider
2013-06-12 02:43:48 +08:00
pkgver=0.2.5
2013-05-17 13:03:35 +08:00
pkgrel=1
pkgdesc="Django application that provides customizable OAuth2_ authentication for your Django projects"
url="https://github.com/caffeinehit/django-oauth2-provider"
arch=('x86_64')
license=('BSD')
depends=('django' 'python2')
makedepends=('python2-distribute')
2013-05-17 13:03:35 +08:00
source=("https://pypi.python.org/packages/source/d/$pkgname/$pkgname-$pkgver.tar.gz")
2013-06-12 02:43:48 +08:00
md5sums=('5c434536f06f7a7f9e9c5b839d75fb44')
2013-05-17 13:03:35 +08:00
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
cp LICENSE $pkgdir/usr/share/licenses/$pkgname/license.txt
}