2013-12-10 11:34:01 +08:00
|
|
|
pkgname=lua-socket
|
|
|
|
pkgver=3.0rc1
|
2016-09-22 05:49:54 +08:00
|
|
|
pkgrel=2
|
2013-12-10 11:34:01 +08:00
|
|
|
pkgdesc='Networking support library for the Lua language'
|
|
|
|
arch=('x86_64')
|
|
|
|
url='https://github.com/diegonehab/luasocket'
|
|
|
|
license=('MIT')
|
|
|
|
depends=('lua')
|
|
|
|
source=("https://github.com/diegonehab/luasocket/archive/v${pkgver/rc/-rc}.tar.gz")
|
|
|
|
md5sums=('08bd2f265b244eb4bf5c2c36bf89b759')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd luasocket-${pkgver/rc/-rc}
|
|
|
|
make LUAV=5.1
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd luasocket-${pkgver/rc/-rc}
|
|
|
|
make DESTDIR="$pkgdir/" LUAV=5.1 prefix=/usr install-unix
|
|
|
|
install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
|
|
}
|