Commit a7f02e66 authored by Natanael Copa's avatar Natanael Copa

main/lua-socket: renamed from luasocket

parent 3609d312
# 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,15 +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/$pkgname-$pkgver"
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