mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-28 01:02:13 +08:00
27 lines
805 B
Bash
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
|
|
}
|