
Untitled
By: a guest on
Oct 15th, 2010 | syntax:
None | size: 0.95 KB | views:
53 | expires: Never
# Contributor: apkawa <apkawa@gmail.com>
pkgname=django-debug-toolbar-git
pkgver=20090428
pkgrel=1
pkgdesc="A configurable set of panels that display various debug information about the current"
arch=('i686' 'x86_64')
url="http://rob.cogit8.org/blog/2008/Sep/19/introducing-django-debug-toolbar/"
license=('GPL')
depends=('python' 'django')
makedepends=('git')
source=( )
md5sums=( )
_gitname="django-debug-toolbar"
_gitroot="git://github.com/robhudson/django-debug-toolbar.git"
build() {
cd ${srcdir}
msg "Connecting to $_gitroot GIT server...."
if [ -d ${srcdir}/$_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
msg "GIT checkout done or server timeout"
cd ${_gitname}
python2 setup.py install --root=$startdir/pkg && \
install -D -m0644 LICENSE $startdir/pkg/usr/share/licenses/${pkgname}/LICENSE
}