1 #Contributor: LinkMaster03 linkmaster032000 at gmail dot com
5 pkgdesc="A cross-platform IRC bot written in Python"
7 url="http://sourceforge.net/projects/supybot/"
9 depends=('python>=2.5')
10 optdepends=('python-pysqlite-legacy')
17 _git_tree="git://supybot.git.sourceforge.net/gitroot/supybot/supybot"
22 msg "Connecting to GIT server...."
24 if [ -d $_git_name ] ; then
25 cd $_git_name && git pull origin
26 msg "The local files are updated."
31 msg "Clone done, starting make..."
33 rm -rf "$srcdir/$_git_name-build"
34 cp -a "$srcdir/$_git_name" "$srcdir/${_git_name}-build"
35 cd "$srcdir/$_git_name-build"
37 mkdir -p $pkgdir/usr/lib/python2.6/site-packages
38 mkdir -p $pkgdir/usr/bin
40 python setup.py install --prefix=$pkgdir/usr || return 1
42 mkdir -p $pkgdir/usr/share/licenses/supybot-git/
43 install -m644 LICENSE $pkgdir/usr/share/licenses/supybot-git/ || return 1
45 rm -rf $srcdir/${_git_name}-build