python2-jsonpickle: add initial PKGBUILD.

This commit is contained in:
Benjamin Chrétien 2014-12-17 00:08:39 +01:00
commit b6de85dbc4
2 changed files with 42 additions and 0 deletions

14
.SRCINFO Normal file
View file

@ -0,0 +1,14 @@
pkgbase = python2-jsonpickle
pkgdesc = a library for the two-way conversion of complex Python objects and JSON
pkgver = 0.6.1
pkgrel = 1
url = http://jsonpickle.github.com/
arch = any
license = BSD
makedepends = python2-distribute
depends = python2
source = http://pypi.python.org/packages/source/j/jsonpickle/jsonpickle-0.6.1.tar.gz
md5sums = 13684df11d9bc768b05146abcc947853
pkgname = python2-jsonpickle

28
PKGBUILD Normal file
View file

@ -0,0 +1,28 @@
# Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
pkgname=python2-jsonpickle
pkgver=0.6.1
pkgrel=1
pkgdesc="a library for the two-way conversion of complex Python objects and JSON"
arch=('any')
url="http://jsonpickle.github.com/"
license=('BSD')
depends=('python2')
makedepends=('python2-distribute')
source=("http://pypi.python.org/packages/source/j/jsonpickle/jsonpickle-$pkgver.tar.gz")
md5sums=('13684df11d9bc768b05146abcc947853')
build() {
cd "jsonpickle-$pkgver"
python2 setup.py build
}
package() {
cd "jsonpickle-$pkgver"
python2 setup.py install --root="$pkgdir"/ --optimize=1
install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}