summaryrefslogtreecommitdiff
path: root/pcr/python2-warlock/PKGBUILD
blob: b11e1a4206b2fe9a2a0719c34b51447ecadc27af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Contributor: Limao Luo <luolimao+AUR@gmail.com>
# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>

pkgname=python2-warlock
pkgver=1.0.1
pkgrel=1
pkgdesc="Python object model built on JSON schema and JSON patch"
arch=(any)
url=https://github.com/bcwaldon/warlock
license=(Apache)
depends=(python2-jsonpatch)
makedepends=(python2-setuptools)
source=(http://pypi.python.org/packages/source/w/${pkgname#*-}/${pkgname#*-}-$pkgver.tar.gz)

build() {
    cd ${pkgname#*-}-$pkgver/
    python2 setup.py build
}

package() {
    cd ${pkgname#*-}-$pkgver/
    python2 setup.py install --prefix=/usr --root="$pkgdir"
}