summaryrefslogtreecommitdiffstats
path: root/abs/core/python-simplejson/PKGBUILD
blob: 5deb30d6e5a99406209e01a70cba47aef5443066 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 26298 2010-09-14 17:18:19Z schuay $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: David Moore <davidm@sjsoft.com>

pkgname=python-simplejson
pkgver=2.1.1
pkgrel=2
pkgdesc="Simple, fast, extensible JSON encoder/decoder for Python"
license=('MIT')
arch=('any')
url="http://undefined.org/python/#simplejson"
depends=('python2')
makedepends=('setuptools')
source=(http://pypi.python.org/packages/source/s/simplejson/simplejson-${pkgver}.tar.gz)
md5sums=('0bbe3a2e5e4cac040013733aca159d89')

build() {
  cd ${srcdir}/simplejson-${pkgver}

  python2 setup.py install --root=${pkgdir}

# License
  install -Dm644 ${srcdir}/simplejson-${pkgver}/LICENSE.txt \
    ${pkgdir}/usr/share/licenses/python-simplejson/LICENSE
}