updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / django-json-rpc / PKGBUILD
blobc3e42dd796a8bdb7366753ab125542775fbc1bb7
1 # Maintainer: Raphael Kubo da Costa <kubito@gmail.com>
3 pkgname=django-json-rpc
4 pkgver=0.6.1
5 pkgrel=4
6 pkgdesc="A basic JSON-RPC Implementation for Django-powered sites."
7 arch=(i686 x86_64)
8 url="http://github.com/samuraisam/django-json-rpc"
9 license=('MIT')
10 depends=('django')
11 source=(https://github.com/downloads/samuraisam/django-json-rpc/django-json-rpc-0.6.1.tar.gz)
12 md5sums=('f2776b9e62ed52b254d99066ad314dc4')
13 sha256sums=('a3475abc26eff724103312407ddc30784b4741e583396a8e17aefba484cb6577')
15 build() {
16   cd "${startdir}/src/${pkgname}-${pkgver}"
17   python2 setup.py build || return 1
18   python2 setup.py install --prefix=/usr --root="${pkgdir}" || return 1
19   install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" || return 1