1 # Maintainer: Linus Sjögren <thelinx@unreliablepollution.net>
5 pkgdesc="IRC library for Lua"
7 url="https://github.com/JakobOvrum/LuaIRC"
10 depends=('lua' 'luasocket')
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/irc/
36 install -Dm0664 *.lua \
37 $pkgdir/usr/share/lua/5.1/irc/
38 install -Dm0664 LICENSE.txt \
39 $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt