Commit bb232169 authored by Natanael Copa's avatar Natanael Copa

main/lua-socket: renamed from luasocket

(cherry picked from commit a7f02e66)

Conflicts:

	main/lua-socket/APKBUILD
	main/luasocket/APKBUILD
	testing/luasocket/APKBUILD
parent 1c854b8c
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Mika Havela <mika.havela@gmail.com>
pkgname=luasocket
pkgname=lua-socket
_name=luasocket
pkgver=2.0.2
pkgrel=0
pkgdesc="Luasocket is the most comprehensive networking support library for the Lua language."
......@@ -9,12 +10,16 @@ license="MIT"
depends="lua"
makedepends="lua-dev"
install=
source="http://luaforge.net/frs/download.php/2664/$pkgname-$pkgver.tar.gz"
source="http://luaforge.net/frs/download.php/2664/luasocket-$pkgver.tar.gz"
replaces=luasocket
build() {
cd "$srcdir/$pkgname-$pkgver"
cd "$srcdir/$_name-$pkgver"
make || return 1
}
package() {
cd "$srcdir/$_name-$pkgver"
make INSTALL_TOP_SHARE="$pkgdir/usr/share/lua/5.1" INSTALL_TOP_LIB="$pkgdir/usr/lib/lua/5.1" install
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment