Want more features on Pastebin? Sign Up, it's FREE!
Guest

django-piston AUR package source

By: a guest on Apr 6th, 2011  |  syntax: Bash  |  size: 0.56 KB  |  views: 91  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }
clone this paste RAW Paste Data