mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
c04250fe2e
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.
22 lines
565 B
Bash
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"
|
|
}
|