desktop/lua-socket/PKGBUILD
Adrian Chaves (Gallaecio) c04250fe2e lua 5.3.3
Packages that do not support latest Lua have been moved to the CCR. If requested,
we could package lua52 and lua51 in the official repoitories to support popular
packages that have not yet caught up with latest Lua.
2016-09-21 23:49:54 +02:00

22 lines
565 B
Bash

pkgname=lua-socket
pkgver=3.0rc1
pkgrel=2
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"
}