blob: 19058b1c67af4719d841ebfeb08406c8a872e0c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Miguel de Val-Borro <miguel at archlinux dot net>
pkgname=('python-django-cors-headers')
pkgver=2.2.1
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=('5db1e613a33c1fe41c6e9c46ec0a2ca0')
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}
}
|