# Maintainer: Miguel de Val-Borro pkgname=('python-django-cors-headers') pkgver=1.2.2 pkgrel=1 pkgdesc="Django application for handling the server headers required for Cross-Origin Resource Sharing (CORS)" arch=('any') url="http://github.com/ottoyiu/django-cors-headers" depends=('python-django') makedepends=('python-setuptools') source=("https://github.com/ottoyiu/django-cors-headers/archive/${pkgver}.tar.gz") md5sums=('2f9393a52fb8326f55fb0bc83f1b4ca9') build() { cd ${srcdir}/django-cors-headers-${pkgver} python setup.py build } package() { cd ${srcdir}/django-cors-headers-${pkgver} python setup.py install --prefix=/usr --root=${pkgdir} }