summaryrefslogtreecommitdiffstats
path: root/django-piston/PKGBUILD
blob: a635ff5e19455144064e05bfe58335f5ceb7ac5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Maintainer: Laszlo Papp <djszapi at archlinux us>

pkgname=django-piston
pkgver=0.2.2
pkgrel=1
pkgdesc="Piston is django mini-framework creating APIs"
arch=(any)
url="http://bitbucket.org/jespern/django-piston"
license=('GPL')
depends=('python' 'django')
source=("http://bitbucket.org/jespern/$pkgname/downloads/$pkgname-$pkgver.tar.gz")
md5sums=('28a2900695fdbcb14ff3c45390e7a4fd')

build() {
    cd "$srcdir/$pkgname"
    python setup.py build || return 1
    python setup.py install --root=$pkgdir --optimize=1 || return 1
}