SHARE
TWEET

django-piston AUR package source

a guest Apr 6th, 2011 92 Never
  1. # Maintainer: Laszlo Papp <djszapi at archlinux us>
  2.  
  3. pkgname=django-piston
  4. pkgver=0.2.2
  5. pkgrel=1
  6. pkgdesc="Piston is django mini-framework creating APIs"
  7. arch=(any)
  8. url="http://bitbucket.org/jespern/django-piston"
  9. license=('GPL')
  10. depends=('django')
  11. makedepends=('python2-distribute')
  12. source=("http://bitbucket.org/jespern/$pkgname/downloads/$pkgname-$pkgver.tar.gz")
  13. md5sums=('28a2900695fdbcb14ff3c45390e7a4fd')
  14.  
  15. build() {
  16.     PYTHON=python2
  17.     cd "$srcdir/$pkgname"
  18.     $PYTHON setup.py build
  19.     $PYTHON setup.py install --root="$pkgdir" --optimize=1
  20. }
RAW Paste Data
Top