1 # Contributor: LK- <lk07805@gmail.com>
2 # Maintainer: LK- <lk07805@gmail.com>
6 pkgdesc="Lurklib is a threading-safe, event-driven IRC library designed for creating anything from bots to full-fledged IRC clients."
8 url="https://github.com/LK-/lurklib/"
11 optdepends=('python2: for Python 2 support')
12 _gitroot="git://github.com/LK-/lurklib.git"
17 msg "Connecting to GIT server...."
19 if [ -d $_gitname ] ; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
23 git clone $_gitroot $_gitname
26 msg "GIT checkout done or server timeout"
27 msg "Starting make..."
29 rm -rf "$srcdir/$_gitname-build"
30 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
31 cd "$srcdir/$_gitname-build"
32 python setup.py install --root=$pkgdir/
33 if [[ -e /usr/bin/python2 ]]; then
34 python2 setup.py install --root=$pkgdir/