Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Lubosz Sarnecki <lubosz at gmail com>
- pkgname=django-haystack-git
- pkgver=20120511
- pkgrel=1
- pkgdesc="Modular search for Django."
- arch=(any)
- url="http://haystacksearch.org/"
- license=('MIT')
- depends=('python2' 'django')
- optdepends('python2-pysolr-git')
- makedepends=('git')
- source=()
- md5sums=()
- _gitroot="git://github.com/toastdriven/django-haystack.git"
- _gitname="django-haystack"
- build() {
- msg "Connecting to the GNOME 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."
- cd ${_gitname}
- python2 setup.py build
- python2 setup.py install --root=$pkgdir --optimize=1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement