aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-socket/APKBUILD
blob: cf0a9b9d5bcb8c329107524d1c2dc8e3504e91c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Mika Havela <mika.havela@gmail.com>
pkgname=lua-socket
_name=luasocket
pkgver=2.0.2
pkgrel=1
pkgdesc="Luasocket is the most comprehensive networking support library for the Lua language."
url="http://luaforge.net/projects/luasocket/"
arch="x86 x86_64"
license="MIT"
depends="lua"
makedepends="lua-dev"
install=
source="http://luaforge.net/frs/download.php/2664/luasocket-$pkgver.tar.gz"
replaces=luasocket

build() {
	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

}

md5sums="41445b138deb7bcfe97bff957503da8e  luasocket-2.0.2.tar.gz"