Natanael Copa 4ff65ef299 main: mass-rebuild of packages missing arch in .PKGINFO
this is needed for apk-tools-2.1 migration
2011-03-31 13:43:08 +00:00

29 lines
739 B
Plaintext

# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Mika Havela <mika.havela@gmail.com>
pkgname=lua-socket
_name=luasocket
pkgver=2.0.2
pkgrel=2
pkgdesc="Luasocket is the most comprehensive networking support library for the Lua language."
url="http://luaforge.net/projects/luasocket/"
arch="all"
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"