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

Untitled

By: a guest on Oct 15th, 2010  |  syntax: None  |  size: 0.95 KB  |  views: 53  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor:  apkawa <apkawa@gmail.com>
  2. pkgname=django-debug-toolbar-git
  3. pkgver=20090428
  4. pkgrel=1
  5. pkgdesc="A configurable set of panels that display various debug information about the current"
  6. arch=('i686' 'x86_64')
  7. url="http://rob.cogit8.org/blog/2008/Sep/19/introducing-django-debug-toolbar/"
  8. license=('GPL')
  9. depends=('python' 'django')
  10. makedepends=('git')
  11. source=( )
  12. md5sums=( )
  13. _gitname="django-debug-toolbar"
  14. _gitroot="git://github.com/robhudson/django-debug-toolbar.git"
  15.  
  16. build() {
  17.       cd ${srcdir}
  18.       msg "Connecting to $_gitroot GIT server...."
  19.  
  20.       if [ -d ${srcdir}/$_gitname ] ; then
  21.       cd $_gitname && git pull origin
  22.       msg "The local files are updated."
  23.       else
  24.       git clone $_gitroot
  25.       fi
  26.  
  27.       msg "GIT checkout done or server timeout"
  28.  
  29.     cd ${_gitname}
  30.     python2 setup.py install --root=$startdir/pkg && \
  31.     install -D -m0644 LICENSE $startdir/pkg/usr/share/licenses/${pkgname}/LICENSE
  32. }
clone this paste RAW Paste Data