1 # Contributor: Randy Morris <randy rsontech net>
5 pkgdesc="An AUR search/download/update helper in Python"
7 url="https://github.com/rson/slurpy"
12 optdepends=('python2-cjson: faster processing for large result sets'
13 'python2-pycurl: upload packages to the AUR from the command line')
17 #_gitroot="/home/oh/projects/slurpy"
18 _gitroot="git://github.com/rson/slurpy.git"
21 msg "Connecting to github.com GIT server...."
23 if [ -d ${srcdir}/${_gitname} ] ; then
24 cd ${_gitname} && git pull origin
25 msg "The local files are updated."
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 cd ${srcdir}/${_gitname}
36 python2 setup.py install --root=${pkgdir} --prefix=/usr
37 install -Dm 755 $srcdir/${_gitname}/slurpyrc $pkgdir/etc/slurpyrc