1 # $Id: PKGBUILD 41828 2011-03-09 12:08:16Z spupykin $
2 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: Anders Bergh <anders1@gmail.com>
8 pkgdesc="Luasocket is the most comprehensive networking support library for the Lua language, with IPv6 support."
10 url="http://code.matthewwild.co.uk/luasocket2-hg"
14 makedepends=(mercurial)
16 provides=('luasocket=2.0.3')
18 source=(lua-license.html::http://www.lua.org/copyright.html
20 luasocket-unixsocket.patch)
21 md5sums=('fb2f89277430ce0118178e85d242d2e1'
22 'e6efd6a8d0eb12e162e21c45f83c9cec'
23 'fd094b319c3099e09384b15d8127a066')
25 _hgroot=http://code.matthewwild.co.uk
31 patch -p0 < $srcdir/luasocket-arch.patch
32 patch -p0 < $srcdir/luasocket-unixsocket.patch
35 make DESTDIR="$pkgdir" install
37 install -D -m0644 $srcdir/lua-license.html $pkgdir/usr/share/licenses/$pkgname/lua-license.html