desktop/python2-simplejson/PKGBUILD
2014-04-11 20:47:32 +00:00

27 lines
805 B
Bash

# Maintainer: Adrian Chaves Fernandez (Gallaecio) <adriyetichaves@gmail.com>
# Contributor: Giuseppe Calà <jiveaxe@gmail.com>
pkgname=python2-simplejson
_pkgname=simplejson
pkgver=3.3.3
pkgrel=1
pkgdesc="Simple, fast, extensible JSON encoder/decoder for Python"
license=('MIT')
arch=('x86_64')
url="https://github.com/simplejson/simplejson"
depends=('python2')
makedepends=('python-distribute')
replaces=(python-simplejson)
provides=(python-simplejson)
source=(http://pypi.python.org/packages/source/s/$_pkgname/$_pkgname-${pkgver}.tar.gz)
md5sums=('38ff12d163e5cc8c592d609820869817')
package() {
cd ${srcdir}/$_pkgname-${pkgver}
python2 setup.py install --root=${pkgdir}
# License
install -Dm644 ${srcdir}/$_pkgname-${pkgver}/LICENSE.txt \
${pkgdir}/usr/share/licenses/$pkgname/LICENSE
}