1 # Maintainer: Linus Sjögren <thelinx@unreliablepollution.net>
5 pkgdesc="IRC bot framework in Lua"
7 url="https://github.com/JakobOvrum/ircbot"
9 provides=('lua-ircbot')
10 depends=('lua' 'lua-irc')
18 msg "Connecting to GIT server...."
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
24 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout"
34 cd "$srcdir/$_gitname"
35 mkdir -p $pkgdir/usr/share/lua/5.1/ircbot/plugins/
36 install -Dm0664 *.lua \
37 $pkgdir/usr/share/lua/5.1/ircbot/
38 install -Dm0664 plugins/*.lua \
39 $pkgdir/usr/share/lua/5.1/ircbot/plugins/
40 install -Dm0664 LICENSE.txt \
41 $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt